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.

--

--

--

Hi, I’m Damian, a Unity Software Engineer who loves building education and simulation games.

Recommended from Medium

How to Improve the speed of SugarCRM Instance?

Explain Imperative vs Declarative Programming to Gamers

How to create a Windows EC2 Instance on AWS

Microscaling MicroBadger

3 EASY ClickUp Automations to Simplify Your Content Creation Process

Have your CAKE and eat it–implementing a C# build script at Huddle

Kubernetes: Overview and Working of all K8s Components

CodeChef May Long Challenge 2020 (Div 2) Solutions

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Damian Dąbrowski

Damian Dąbrowski

Hi, I’m Damian, a Unity Software Engineer who loves building education and simulation games.

More from Medium

How to Win the Race Using Director

Creating A Modular Powerup System in Unity

HitBox Attack System in Unity

2D Mobile Game: Tilemaps