D
D
Daniil Secrets2022-02-23 20:33:19
Unity
Daniil Secrets, 2022-02-23 20:33:19

I made a game on Unity, compiled in WebGL gives an error, how to solve?

62166e97f0844204258217.png
Hello! I made a game on Unity, compiled it into WebGl, gives this error, if I run it through the local host, then everything is fine, how can I make it so that my game on the unit starts correctly as if through the local host (So that I can throw it off to a person and his game starts right away ok game by clicking on the html file). Thank you for your attention!
Error: "Failed to download file Build/Zombie_game_0.0.0.1.data.gz. Loading web pages via a file:// URL without a web server is not supported by this browser. Please use a local development web server to host Unity content, or use the Unity Build and Run option."

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
LittleBob, 2022-02-23
@DannYLook

I recommend using the site itch.io (a game jam site with games).
You can upload the game there in private or public mode for any person, the site for it will create a server when it starts.

G
GavriKos, 2022-02-23
@GavriKos

not supported by this browser

unity is irrelevant. Use another browser. Which one - no idea.
Or compile in exe

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question