How to Host Unity Games on the Web
Just like before within building settings we want to select “WebGL” and we want to “switch platform” to rebuild our project so that it can be built
Once this is done the Unity symbol will be next to the appropriate platform. We then want to resolve the warning related to the colour spacing within the build. You can find this within the player settings > Player > Other Settings Colour Space, this needs to be chnaged to Gamma for WebGL.
Now you can build your game, it will save in the folder you have picked and these files can be uploaded to your ftp to hosted to be played online.