- Home /
WebGl build error Unity 2018.2.18
Every time I'm trying to build my project for WebGl and open it I get this error:
In Chrome: "An error ocurred running the Unity content on this page. See your browser JavaScript console for more info. The error was: Uncaught RuntimeError: memory access out of bounds." In Edge: "An error ocurred running the Unity content on this page. See your browser JavaScript console for more info. The error was: Memory index is out of range".
How can I find out what's wrong?
Thank you
Answer by thleosw · Dec 07, 2018 at 08:16 AM
In my case solving a NullReferenceException on a Game Object and lowering the size of the memory allocated at build time did the trick. Hope this helps you as well
Answer by zheyuanzhou · Jun 01, 2019 at 01:33 AM
I face the same error. My project is one simple demo about saving and loading data in Unity3D. When I export by WebGL and the window alert me the same error.
Your answer
Follow this Question
Related Questions
How do I fix a webgl build python error unity 2018 3 Answers
Uncaught TypeError: Cannot read property 'canvas' of undefined 0 Answers
WebGL building FileNotFoundException does not exist 1 Answer
[WEBGL] PLAYER CONTINUES TO RUN AFTER WEBGL-CONTENT IS REMOVED FROM DOM 1 Answer
WebGL Build Failed? 1 Answer