Skip to content

Skip collisions with removed sublevels - #1682

Open
LostPatrol wants to merge 1 commit into
ryanhcode:mainfrom
LostPatrol:fix/skip-removed-sublevel-collision
Open

LostPatrol wants to merge 1 commit into
ryanhcode:mainfrom
LostPatrol:fix/skip-removed-sublevel-collision

Conversation

@LostPatrol

@LostPatrol LostPatrol commented Nov 24, 2026 •

Copy link
Copy Markdown

Skip removed sublevels during entity collision handling to avoid processing stale collision data.

In Sable 2.0.6, when the last block of a sublevel is destroyed, entity collision handling may still attempt to read the velocity of the removed rigid body, resulting in a Body has been removed exception.

This PR adds an isRemoved() check to skip collisions with removed sublevels.

@CLAassistant

CLAassistant commented Nov 24, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

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

Successfully merging this pull request may close these issues.

2 participants