

“Our work with Mozilla has been incredibly productive. We’re happy to see the platform mature and look forward to helping to drive its evolution,” said Ralph Hauwert, Senior Developer, Unity Technologies. “We believe WebGL and asm.js will be driving the future of gaming on the Web. Unity developers will be pleased to hear that their games will work well in all modern desktop browsers that fully support WebGL, with superior performance coming from browsers such as Firefox that specifically optimize for asm.js. “This development unlocks the full potential of the Web for Unity developers.”

“Unity is one of the most innovative companies in gaming so their commitment to WebGL and asm.js really strengthens support for Mozilla’s vision of a high performance, plugin-free Web,” said Vlad Vukicevic, Engineering Director at Mozilla and inventor of WebGL. To demonstrate this technology in action, Unity and Mozilla are showcasing a preview of the popular game, Dead Trigger 2, running in Firefox at near-native speed. Millions of Unity developers will have the opportunity to export their Unity content directly to the Web without the friction of plugins while maintaining smooth and silky gameplay. Unity’s WebGL add-on will be made available with the release of Unity 5.0 later this year. Http.Mozilla and Unity are announcing new deployment tools bringing Unity-authored games to the Web without the need for plugins, made possible thanks to Mozilla-pioneered technologies including WebGL, a Web graphics library and asm.js, a supercharged subset of JavaScript. In the resulting JS file I had to modify the following code to output the reason for failure along with the ‘Unkonw Error’ message, and the result was timeout exceeded. My client is downloading big files (textures) from the server and the WWW class error randomly showed ‘Unknown Error’. The bug is solved in unity 5.1.1p1, so the solution below is for 5.1.1f1. I am trying to port my work to the new WebGL build target with unity 5.1.1f1.
