Skip to content

Fix crash caused by removing rapier rigidbody before chunk unload finished#1093

Open
WaterOtter86 wants to merge 4 commits into
ryanhcode:mainfrom
WaterOtter86:main
Open

Fix crash caused by removing rapier rigidbody before chunk unload finished#1093
WaterOtter86 wants to merge 4 commits into
ryanhcode:mainfrom
WaterOtter86:main

Conversation

@WaterOtter86
Copy link
Copy Markdown

Sable was removing the Rapier rigid body before Minecraft finished unloading the sublevel chunk. If a block entity touched/updated or did anythin with blocks during its chunk unload callback, Sable’s blockchange hook tried to update mass/physics and somewhy teleport? data for a body that no longer existed in Rapier, crashing the server thread. Sorry for lib.rs touch, was testing stuff.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jun 2, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ WaterOtter86
❌ github-actions[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.

@ryanhcode ryanhcode self-assigned this Jun 2, 2026
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.

3 participants