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

Web Only: calling virtual classdb methods results in "table index out of bounds" #86

Open
Splizard opened this issue Jan 29, 2025 · 0 comments
Labels
broken functionality broken GDExtension functionality crash the issue resulted in the engine crashing help wanted Extra attention is needed panic the issue resulted in a Go panic web affects web

Comments

@Splizard
Copy link
Contributor

This is the major blocker for robust web support, many Engine servers use virtual functions but ptrcalling them from Go via JS doesn't work, instead it produces the following error:

Javascript Error: table index out of bounds

I don't have good ways to debug this, so at this stage looking for anybody who can help. This may or may not be related to the following Emscripten issue:
emscripten-core/emscripten#16333

@Splizard Splizard added broken functionality broken GDExtension functionality help wanted Extra attention is needed web affects web labels Jan 29, 2025
@Splizard Splizard changed the title [WEB] calling virtual classdb methods results in "table index out of bounds" Web Only: calling virtual classdb methods results in "table index out of bounds" Jan 29, 2025
@Splizard Splizard added crash the issue resulted in the engine crashing panic the issue resulted in a Go panic labels Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
broken functionality broken GDExtension functionality crash the issue resulted in the engine crashing help wanted Extra attention is needed panic the issue resulted in a Go panic web affects web
Projects
None yet
Development

No branches or pull requests

1 participant