mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +00:00
deba3806d6
# 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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |