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.



Damian Dąbrowski

Hi, I’m Damian, a Software Engineer who loves building educational apps and simulations..