Problem
I am trying to change scene between StartMenu and City, which is the game level where the actual game interaction begins. For some reason all signals work except the 'start_button_pressed()'. The print("emit_start_button_pressed") is triggered but the signal does not reach scene_manager.gd.
What I've tried
-
Tried: Connecting to other signals from scene_manager.gd
-
Result: No signals seem to reach scene_manager.gd
-
Tried: Making SceneManager autoloaded and changing scenes from StartMenu
-
Result: Scenes seem to be null when trying to switch to them in scene_manager.
-
Tried: Using 'call_deferred' and 'await get_tree().process_frame'.
-
Result: No changes, signal is still not being connected in scene_manager
Node Structure
Game (Node2D)
|--SceneManager (Responsible for changing scenes)
|--AudioManager
|--GameManager
I have an autoloaded SignalManager that handles all signal communication.