- Home /
Process for converting from Web Player to WebGL
We've hired an external developer to build a Chrome-based web game using Unity. The game no longer works on Chrome due to disabling of the NPAPI plugin framework in Chrome.
What would be the process for converting a Web Player game to a WebGL game such that it works on Chrome? Is it a matter of exporting the game in a target platform (WebGL) or would it likely involve re-doing some or much of the project?
Answer by Dave-Carlile · Sep 11, 2015 at 03:09 PM
It should just be a matter of building for the WebGL target. I've had success doing that with small projects at least. Depending on your game it may be that some things aren't supported well, which would potentially require making changes.
Thank you. Is it likely that when WebGL leaves preview state in Unity 5, that the process will be more reliable for larger projects?
I can't really answer that with anything but positive thinking. But WebGL seems to be the direction things are going for graphics in browsers, so I would imagine the Unity folks would be doing everything they can to support it as well as they can. Then again, I sold my Apple stock 20 years ago for $16 per share so take my predictions with a grain of salt.
Answer by sokki · Sep 21, 2015 at 01:01 PM
The webplayer cannot be converted to webgl, however, the game source in unity is able to build a webgl version of the game. Unfortunately, its not easy as using photoshop and saving the image in different file type, as there might be problems with the webgl build. I hope its not multiplayer, as we had lots of trouble with our few released multiplayer webgl games.
Good luck, thou!