bevy/crates/bevy_scene
robtfm deba3806d6
avoid panic with parented scenes on deleted entities (#8512)
# Objective

after calling `SceneSpawner::spawn_as_child`, the scene spawner system
will always try to attach the scene instance to the parent once it is
loaded, even if the parent has been deleted, causing a panic.

## Solution

check if the parent is still alive, and don't spawn the scene instance
if not.
2023-05-01 15:33:42 +00:00
..
src avoid panic with parented scenes on deleted entities (#8512) 2023-05-01 15:33:42 +00:00
Cargo.toml Make bevy_render an optional dependency of bevy_scene (#8136) 2023-04-03 21:23:26 +00:00