Get_tree() is null after change_scene_to_file method call

Godot Version

4.2.2

Question

I have a pause pop-up window.when this pop show,I call the get_tree().paused = true to make game paused.
and this pop have a button to change scene to the start scene.
but after I call change_scene_to_file,I call get_tree().paused = false,but get_tree() is NULL
Am I going about it the wrong way?

hello the past me,
you can call pause = false first, then change scene

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.