How to Host Unity Games on the Web

If you want your game to be playable inside of a browser, first you need to export it from Unity in a compatible format. You can do this by going to your Build Settings and change the platform to WebGL. Unity will then ask you where you want to build. I created a new folder to hold this build of the game, to differentiate it from everything else.

Once the game finishes building, where you chose to save the build, you will have the Build folder, the TemplateData folder, and index.html files. These files can then be hosted on a web server to allow your game to be played upon accessing the website.

SimmerIO is a great hosting site for your unity games!

https://simmer.io/

--

--