I have an error in the JavaScript console when building for HTML5.
ERROR:CRASH: CALL STACK:
["abort@http://0.0.0.0:8000/ line 308 > injectedScript:1:10649","___assert_fail@http://0.0.0.0:8000/ line 308 > injectedScript:1:17050","@http://0.0.0.0:8000/dmloader.js line 234 > WebAssembly.instantiate:wasm-function[3180]:0x1662c4","onFocusChanged@http://0.0.0.0:8000/ line 308 > injectedScript:1:231082","onBlur@http://0.0.0.0:8000/ line 308 > injectedScript:1:231183",""]]
CALL STACK END
dmloader.js:724:40
[post-exception status] Exception thrown, see JavaScript console dmloader.js:724:40
Uncaught RuntimeError: Aborted(Assertion failed: g_Window, at: ../src/platform_window_glfw.cpp,88,OnWindowFocus). Build with -sASSERTIONS for more info.
abort http://0.0.0.0:8000/ line 308 > injectedScript:1
___assert_fail http://0.0.0.0:8000/ line 308 > injectedScript:1
onFocusChanged http://0.0.0.0:8000/ line 308 > injectedScript:1
onBlur http://0.0.0.0:8000/ line 308 > injectedScript:1
line 308 > injectedScript:1:10649
I have no idea when this issue started happening. I now realize that I should have been testing builds frequently, but it’s too late for that, as I haven’t been doing it at all.
Things I’ve tried:
- Making my GLSL shaders and render script default
- Following instruction from this thread, which has a similar error message, but different environments (in my case this is just a local dev server) Discord
I was told on Discord that you’re working on better wasm debugging tools. But I was hoping someone here has some ideas because I am out of them.