Unity Deployment: How to Host Unity Games on the Web

The option to upload and host games to the web gives us the ability to share games easily. It’s certainly much easier to send someone a URL link than a large file that you have to download first before you can run it.

To start publishing to the web, open “Build Settings” and change the platform to “WebGL”. Then click on “Switch platform to WebGL” and the project will recompile.

If you get a warning message about incompatibility between the color space and your current settings, go to “Player Settings” and under “Player/Other Settings” change “Color Space” to “Gamma”.

Once the incompatibility issue is resolved, you can click on “Build”, select a folder on your computer, and start publishing. The received files you can open in the browser or upload to a web server.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store