Putting a Unity Game on the Web
There are a few sites that you can use to host your game on the web. We will look at two of them, itch.io and simmer.io. I recommend making an account on both sites if you are going to make games with Unity, and most Game Jams want the game uploaded to a place where they can play or download it.
itch.io
The first one we will look at is itch.io since it allows for the uploading of WebGL games to be played in the browser and uploading of Zip files for Standalone games to be downloaded.
If you don’t have an account already, go ahead and make one.
Once you are signed in to itch.io, click the arrow next to your Profile in the top right to open the drop-down menu and select Upload new project.
In the new project, the two things you need to do are, give it a name and change the Kind of project to HTML. You can leave the rest in the GIF to default.
Now create a Zip of your WebGL Build folder.
Upload the Zipped folder, mark it as being played in the browser. You can leave the rest to defaults, but you can adjust them to fit your game.
You can see that it is set to Draft at the bottom of the page, so only you can see the page for the game. To make it Public, you have to save the settings and load the game for the first time by clicking Save & view page.
The game may take a bit to load for the first time.
Now you can test your game to see if the settings need to be adjusted.
When you get the game looking how you want, you can change it to Public and share it with the world.
simmer.io
The second site, simmer.io, is specifically for hosting and sharing Unity WebGL games and is a bit more streamlined than itch.io but doesn’t have a marketplace where people can upload and share Standalone Builds.
If you don’t have an account already, go ahead and make one.
Once you are signed in to simmer.io, click the upload icon next to your Profile. That will bring you to a page where you can drag and drop the WebGL Build folder, and it will start loading your game.
After it has loaded the game, give it a name, click Save Upload, then at the bottom of the next page, click Save, and then View Your Content. Now your game is live, and you can share the URL with anyone.