Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pubsub webgl issue #65

Open
jorisatabix opened this issue Mar 6, 2022 · 0 comments
Open

Pubsub webgl issue #65

jorisatabix opened this issue Mar 6, 2022 · 0 comments

Comments

@jorisatabix
Copy link

I'm having an issue when I build for WebGL on my Mac, when I call the following line inside a MonoBehaviour:

var connection = new PubSub();

The following messages are shown in the console. Any help would be welcome.

exception thrown: RuntimeError: indirect call signature mismatch,il2cpp::vm::MetadataCache::ExecuteModuleInitializers()@http://localhost:49696/Build/MyProject.wasm:wasm-function[1551]:0xac924
dynCall_v@http://localhost:49696/Build/MyProject.wasm:wasm-function[71034]:0x1584bed
unityFramework/createExportWrapper/<@http://localhost:49696/Build/MyProject.framework.js:1036:20
invoke_v@http://localhost:49696/Build/MyProject.framework.js:14911:12
main@http://localhost:49696/Build/MyProject.wasm:wasm-function[66481]:0x137e0eb
unityFramework/createExportWrapper/<@http://localhost:49696/Build/MyProject.framework.js:1036:20
callMain@http://localhost:49696/Build/MyProject.framework.js:17022:26
doRun@http://localhost:49696/Build/MyProject.framework.js:17065:29
run@http://localhost:49696/Build/MyProject.framework.js:17077:3
runCaller@http://localhost:49696/Build/MyProject.framework.js:17005:18
removeRunDependency@http://localhost:49696/Build/MyProject.framework.js:991:4
unityFramework/</unityFileSystemInit</<@http://localhost:49696/Build/MyProject.framework.js:144:12
doCallback@http://localhost:49696/Build/MyProject.framework.js:4496:11
done@http://localhost:49696/Build/MyProject.framework.js:4507:15
reconcile@http://localhost:49696/Build/MyProject.framework.js:3845:11
unityFramework/syncfs/</<@http://localhost:49696/Build/MyProject.framework.js:3634:11
@http://localhost:49696/Build/MyProject.framework.js:3723:14
Uncaught RuntimeError: index out of bounds
    createExportWrapper http://localhost:49696/Build/MyProject.framework.js:1036
    JS_ScreenOrientation_eventHandler http://localhost:49696/Build/MyProject.framework.js:1910
[MyProject.wasm:21623484:1](http://localhost:49696/Build/MyProject.wasm)
    OrientationChangeHandler(int, int, int) http://localhost:49696/Build/MyProject.wasm:21623484
    dynCall_viii http://localhost:49696/Build/MyProject.wasm:22563899
    createExportWrapper http://localhost:49696/Build/MyProject.framework.js:1036
    JS_ScreenOrientation_eventHandler http://localhost:49696/Build/MyProject.framework.js:1910
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant