Page MenuHome

Fix T70667: crash playing animation (after deleting rigid body obj)

Authored by Philipp Oeser (lichtwerk) on Thu, Oct 10, 1:44 PM.



Was crashing due to RBW mssing shared->physics_world.
This can be gained back by BKE_rigidbody_validate_sim_world.

Other possibility would be to check for shared->physics_world early in

Diff Detail

rB Blender

Event Timeline

I guess that’s a valid change… Would be worth adding a comment (with report reference) about why/how that case (no rebuild required, yet NULL physics_world) can happen? This seems to be related to undo/redo, from quick skim over the report?

This revision is now accepted and ready to land.Fri, Oct 11, 4:29 PM