So I have a pause menu in my game and I addded a button that returns to the main menu scene, but when I press the button, the main menu gets loaded but doesn't seem to work. I'm not sure if it's not loading its script or what, but the buttons don't work and the _ready() function isn't getting called at all.
I made sure the pause was off, and that the main menu screen process is set to "Always". Still not working. Not sure what I'm not seeing here.
Pause Menu loads the main menu with the following function:
print("main menu button pressed")
get_tree().paused = false
print("pause state: " + str(get_tree().paused))
get_tree().change_scene_to_packed(main_menu_scene)```
and the scene is packed as follows:
`var main_menu_scene = preload("res://Assets/UI/start_screen.tscn")`