bevy_rapier icon indicating copy to clipboard operation
bevy_rapier copied to clipboard

panicked at rigid_body_set.rs:188:25: No element at index

Open rustui opened this issue 1 year ago • 1 comments

panicked at rapier2d-0.23.0/src/dynamics/rigid_body_set.rs:188:25: No element at index

I have an object A that is not set with a Fixed Joint, but several other objects are fixed to it using Fixed Joints. When I disconnect all the joints and set them all to RigidBody::Dynamic, there is a chance that a crash occurs when object A is later destroyed.

rustui avatar Mar 27 '25 10:03 rustui

Thanks for the report!

A minimal reproduction would be helpful to start investigating this

ThierryBerger avatar Mar 28 '25 15:03 ThierryBerger