Closed HelloKitty closed 4 years ago
Opps, I have enabled symbols to investigate. Probably should have posted only the symbols build. If I cannot solve it I'll post the full stack with symbols.
This turned out to just be a general WebGL AOT issue in the stack trace. Issues with event sources used on corefx Types.
I'm not sure why but when I call WebSocketConnect from C# side in the WebGL build it fails. Most relevant stack:
uncaught exception: abort("To use dlopen, you need to use Emscripten's linking support, see https://github.com/kripken/emscripten/wiki/Linking") at jsStackTrace (WebGL.wasm.framework.unityweb:8:22325) stackTrace (WebGL.wasm.framework.unityweb:8:22496) onAbort@file:///C:/Users/Glader/Documents/Unity%20Projects/Rs317.Unity.WebGL/Build/WebGL/Build/UnityLoader.js:4:11047 abort (WebGL.wasm.framework.unityweb:8:490242) _dlopen (WebGL.wasm.framework.unityweb:8:177090)
...dynCall (WebGL.wasm.framework.unityweb:8:15172) _WebSocketConnect [_WebSocketConnect/instance.ws.onmessage] (WebGL.wasm.framework.unityweb:8:58056)