Recently I tried to launch my project online. I successfully packaged it in HTML5 format.
And tested it with the HTML5LaunchHelper.exe on local host.
But my Chrome just showed the following error.
Uncaught RuntimeError: abort(Assertion failed: target_thread, at: C:\b\s\w\ir\k\install\emscripten\system\lib\pthread\library_pthread.c,464,do_emscripten_dispatch_to_thread). Build with -s ASSERTIONS=1 for more info
A first I thought it might be something wrong with my project. Maybe it is too large(350MB) or has wrong settings. But I tried an empty project and the same error occured.
So I guess maybe the reason is about my UE4 editor. ;(
**I saw the word ‘emscripten’ in the error. Does it means there’s something to do with Emscripten?
And what is the meaninng of ‘Build with -s ASSERTIONS=1 for more info’ ? Should I input this code somewhere?
Has anyone been there before and know how to solve it ? I lookforward so much for your help. Thannnnks!**
Some background information:
My computer is 64-bit and my browser is Chrome.
I’m now using the github revised version UE4 editor which support html5,NOT an official old one. (4.24.3-html5-1.39.18 branch)
(Sad that new official version editor doesn’t support HTML5 anymore.)