Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | nowaymad123 |
I renamed a scene, and used get_tree().change_scene from the main menu (first scene in project) to that renamed scene, which worked fine.
But then I tried out another scene, which used get_tree().change_scene to the renamed scene, this scene used to change scene to the renamed scene before I renamed it.
When I write get_tree().change_scene from the “another scene” to the renamed scene, Godot just crashes and shows “Object was deleted while awaiting a callback” a lot of times. I had to rename the scene back to its old name in order for it to stop crashing, but It’s really annoying since I just want to rename it.
Anyone have any idea what may cause this?