greggman / better-unity-webgl-template

A better default template for Unity WebGL
https://greggman.github.io/better-unity-webgl-template/
Creative Commons Zero v1.0 Universal
760 stars 137 forks source link

Stop here for l long time, can't enter game.How to build this project correctly? #16

Closed kgho closed 4 years ago

kgho commented 4 years ago

Unity: 2020.1.3f1c1

Snipaste_2020-10-29_15-56-51

greggman commented 4 years ago

You can't run Unity-WebGL directly from your hard-drive period. That has nothing to with this template. You'll get the same results with or without it.

To run Unity-WebGL you need a web server Here's a simple one