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

Removed Trigger double Body deletion #6365

Closed

Conversation

MushAsterion
Copy link
Collaborator

Fixes #6364

Trigger#destroy was calling destroyBody while already being called earlier from this.disable within the same function leading to Ammo.js trying to destroy an empty reference

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

@MushAsterion MushAsterion added area: physics Physics related issue open source contribution Issues related to contributions from people outside the PlayCanvas team labels May 14, 2024
Copy link

vercel bot commented May 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
engine ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 14, 2024 3:24pm

@mvaligursky
Copy link
Contributor

Closed?

@MushAsterion
Copy link
Collaborator Author

Yes sorry, it seems the change is not fixing the original issue and I'm definitely blind as the first only remove the body and don't destroy it so this one is fine. Sorry for the early PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: physics Physics related issue open source contribution Issues related to contributions from people outside the PlayCanvas team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ammo.js "table index is out of bounds" following Trigger destruction
2 participants