L
L
little bob2021-12-15 21:37:19
Unity
little bob, 2021-12-15 21:37:19

WebGl build not starting?

If you build through Build and Run, then the game starts once. Then chrome can't run it and gives this

Failed to download file Build/HTML5.data.br. 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

1 answer(s)
E
Ente, 2021-12-16
@LittleBob

WebGL asks you to deploy a web server for it (Apache/Nginx). When you launch via Build and Run, Unity most likely launches its own server and gives you the opportunity to test there, but it does it one-time.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question