![]() # Objective When changing an Entity's `Parent` to a new one from an old `Parent` that doesn't exist, Bevy panics. Fixes #8337. ## Solution Use `get_entity_mut` instead of `entity_mut` in `remove_from_children`. --------- Co-authored-by: James Liu <contact@jamessliu.com> |
||
---|---|---|
.. | ||
components | ||
child_builder.rs | ||
events.rs | ||
hierarchy.rs | ||
lib.rs | ||
query_extension.rs | ||
valid_parent_check_plugin.rs |