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.
↧