jcornaz / heron

[DISCONTINUED] An ergonomic physics API for bevy games
MIT License
292 stars 44 forks source link

Despawning entity children crashes with debug feature #177

Closed edgarssilva closed 2 years ago

edgarssilva commented 2 years ago

When despawning entity children using despawn_descendants or despawn_recursive the app crashes in https://github.com/jcornaz/heron/blob/11fbf60d2fb6c688fbc02559a7efc154cf6d2145/debug/src/dim2.rs#L111 It crashes because it tries to create a EnityCommands from a non existant entity.