Hello! I worked on my project and recently I decided to add one more level to my game. This scene is real-time main menu with the game description. When I build it for PC - everything is great. But when I made a build for WebGl, Firefox showed me this
An error occurred running the Unity content on this page. See your browser's JavaScript console for more info. The error was:
uncaught exception: abort(117) at jsStackTrace (WebGL.js:1:19540)
stackTrace (WebGL.js:1:19711)
abort (WebGL.js:3:30477)
b117 [cfm] (WebGL.asm.js:28:1)
oOf (WebGL.asm.js:5:1)
_GameManager_Start_m2655388892 [y3k] (WebGL.asm.js:6:1)
RuntimeInvoker_Void_t1841601450(MethodInfo const*, void*, void**) [Fij] (WebGL.asm.js:4:1)
dynCall_iiii [Y8l] (WebGL.asm.js:28:1)
invoke_iiii (WebGL.js:1:344693)
il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**) [Sjl] (WebGL.asm.js:18:1)
_il2cpp_runtime_invoke [Yml] (WebGL.asm.js:18:1)
scripting_method_invoke(ScriptingMethodIl2Cpp, Il2CppObject*, ScriptingArguments&, Il2CppException**, bool) [R8] (WebGL.asm.js:14:1)
Q8 (WebGL.asm.js:14:1)
MonoBehaviour::InvokeMethodOrCoroutineChecked(ScriptingMethodIl2Cpp, Il2CppObject*, Il2CppException**) [W$a] (WebGL.asm.js:11:1)
MonoBehaviour::InvokeMethodOrCoroutineChecked(ScriptingMethodIl2Cpp, Il2CppObject*) [V$a] (WebGL.asm.js:11:1)
MonoBehaviour::DelayedStartCall(Object*, void*) [OQb] (WebGL.asm.js:9:1)
DelayedCallManager::Update(int) [bvb] (WebGL.asm.js:8:1)
InitPlayerLoopCallbacks()::EarlyUpdateScriptRunDelayedStartupFramestruct::Forward() [XUa] (WebGL.asm.js:13:1)
PlayerLoop() [ana] (WebGL.asm.js:10:1)
MainLoop() [Pma] (WebGL.asm.js:10:1)
dynCall_v [B8l] (WebGL.asm.js:28:1)
dynCall [Runtime.dynCall] (WebGL.js:1:7469)
_emscripten_set_main_loop [_emscripten_set_main_loop/browserIterationFunc] (WebGL.js:1:39097)
runIter [Browser.mainLoop.runIter] (WebGL.js:1:42189)
Browser_mainLoop_runner (WebGL.js:1:40634)
If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.
I tried to Google it and fix, but nothing is working!
Please, help guys.
↧