- Home /
WebGL error after hosting
Hi, after i build a WebGL build, it runs correctly from the local disk. when i host it to the server to embed it to my website, it throws the following error. in firefox
An error occured running the Unity content on this page. See your browser's JavaScript console for more info. The error was:
SyntaxError: missing ] in index expression
here is the build link
Uhm, i opened your link several hours ago. But since it loaded slowly i forgot about it. For my it seems that it has loaded up just fine. I can walk around the flat. $$anonymous$$aybe you have a cache problem? Have you tried pressing CTRL + R to reload the page?
$$anonymous$$aybe you already fixed your problem. If it's fixed you may close or delete your question. If not you may have to be more specific. I also use the Firefox (51.0.1 (32-Bit)) on Windows 10.
Here's my Javascript console after it has loaded up. Below are some shader warnings but nothing serious
Hi, Thanks for the reply.,
i just deleted .htaccess and it solved the poblem..
now, the browser doesnt show up any warning..
but the issue now is, the loading indicator doesn't update accurately.... It loads upto 30% and stops., after a while, the game starts automatically.
Any fix?
thanks..
Your answer
Follow this Question
Related Questions
Realtime multiplayer over web server 0 Answers
Unity WebGL Error Running on Local Server 0 Answers
Unity WebGL Problem 0 Answers
ReferenceError: Call is not defined 1 Answer
How to read uploaded WebGL binary files? 0 Answers