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

WebGL: INVALID_OPERATION drawArrays in WASM build #1

Closed
jabuwu opened this issue Feb 25, 2023 · 2 comments
Closed

WebGL: INVALID_OPERATION drawArrays in WASM build #1

jabuwu opened this issue Feb 25, 2023 · 2 comments

Comments

@jabuwu
Copy link
Owner

jabuwu commented Feb 25, 2023

Destroying Spine entities in the WASM build can cause the application to hang forever.

Bevy issue: bevyengine/bevy#5732

@jabuwu
Copy link
Owner Author

jabuwu commented Mar 7, 2023

I've introduced the feature workaround_5732 which circumvents this problem. It does so by keeping meshes and materials around forever. It is far from the ideal solution.

It might be possible to drop them overtime to avoid running up memory as more and more meshes are created and destroyed, until this is fixed upstream.

@jabuwu
Copy link
Owner Author

jabuwu commented Apr 27, 2023

Fixed in bevyengine/bevy#8446. Removed workaround_5732 in the bevy_main branch.

@jabuwu jabuwu closed this as completed Apr 27, 2023
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