- Home /
Error 127 on loading game in browser
I’m working on project but every time I make a build from my project to webGL I receive an error when I try to run it in the browser. The game is embedded in the browser, One of my friends manages to play the game but the other 3 cannot launch the game and receive the error.
The error is at the second last line:
var Module = { TOTAL_MEMORY: 134217728, filePackagePrefixURL: "Release/", memoryInitializerPrefixURL: "Release/", preRun: [], postRun: [], print: (function() { return function(text) { console.log (text); }; })(), printErr: function(text) { console.error (text); },
And the error is:
(censored)/:34 127 Module.printErr @ (censored)/:34 UnityConfig.js:76 Invoking error handler due to Uncaught abort(127) at Error at jsStackTrace (http:// (censored)/WebGLBuild/Release/WebGLBuild.js:1:22020) at stackTrace (http:// (censored)/WebGLBuild/Release/WebGLBuild.js:1:22203) at abort (http:// (censored)/WebGLBuild/Release/WebGLBuild.js:36:45413) at Array.Lgm (http:// (censored)/WebGLBuild/Release/WebGLBuild.js:29:69844) at PPb (http:// (censored)/WebGLBuild/Release/WebGLBuild.js:9:69514) at MPb (http:// (censored)/WebGLBuild/Release/WebGLBuild.js:9:68430) at pWd (http:// (censored)/WebGLBuild/Release/WebGLBuild.js:16:271967) at Buc (http:// (censored)/WebGLBuild/Release/WebGLBuild.js:19:1026834) at ATINIT.push.func (http:// (censored)/WebGLBuild/Release/WebGLBuild.js:1:30379) at callRuntimeCallbacks (http:// (censored)/WebGLBuild/Release/WebGLBuild.js:1:24476) If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.
Now my question is how can I solve this error? I have tried to Google how to use -s ASSERTIONS=-1 but I did nog manage to find a solution how to use is.
Answer by BlastOffProductions · Dec 07, 2016 at 12:55 PM
I think it's a memory problem. try adjusting your memory and see if that works.
Memory is tricky, if you have too little memory your game will crash, if you have too much it will mess up. So you just got to find the right amount of memory for your game.
Your answer
Follow this Question
Related Questions
WebGL build error on Unity 2021.2.8 0 Answers
Compile errors using WebGl plattform 2 Answers
UnityLoader.js throws up an Internal Sever Error 500 0 Answers
Conversion of object.text to webGL 0 Answers
WebGL and I/O 1 Answer