Godot 4.2.2
Basically, when my games scene changes like from the main menu to the actual game project, the UI’s elements will stop working, it won’t update, the functions are treated as null, but the elements’s textures will load weirdly. But everything else doesn’t work, the buttons etc. And when the the UI’s function is called, it’ll error because it doesn’t exist. This also happens when the scene reloads (eg when the player dies). No clue what caused this.
Error when function called: “Invalid call. Nonexistent function ‘create_question_ui’ in base ‘CanvasLayer’.”
Other related errors: “E 0:00:01:0874 main_menu.gd:6 @ _on_play_button_pressed(): Another resource is loaded from path ‘res://Scenes/ui.tscn’ (possible cyclic resource inclusion).”,