SceneSpawner::spawn_dynamic
doesn't hold the handle after 0.12
#10482
Milestone
SceneSpawner::spawn_dynamic
doesn't hold the handle after 0.12
#10482
Bevy version
0.12
What you did
On 0.11 the following code worked just fine:
But after 0.12 the code fails to spawn the scene. It's because I need to call
.clone()
onscene_handle
, otherwise the handle will be dropped. I would expect scene spawner to hold the handle when I callspawn_dynamic
.The text was updated successfully, but these errors were encountered: