Host Unity game on the web
May 28, 2021
Sharing a game you made online is not tough as Unity supports a system named WebGL.
- Install WebGL by going to the build settings.
- Double-check the webGL build support selection.
- The installation process shall begin in Unity Hub and upon completion, the web symbol will appear.
- Click on the option switch platform and a recompilation of project should begin.
- The standard recommendation is to change the color settings to gamma when working with the web as per Unity and therefore, it needs to be changed in case the earlier choice was linear.
- Once the change is made, a build can be extracted. There should be a resulting folder containing needed files that can be used on a personal website for hosting. As simple as that :)
Thank you very much