_load_room Breakpoint on launch #121
-
|
When I try launching my project, it instantly crashes, and all Godot says is that it breaks at line 49 of MetSysGame.gd and line 53 of my Game.gd, which are map = _load_room(path)and load_room(starting_map)respectively. I verified that the code is correctly identifying the uid of my starting room for starting_map and path, so I'm not really sure what the issue is. I've looked through the sample project thoroughly but can't seem to find any differences that would be causing this. The only difference in my Game.gd compared to the sample is that I don't have the custom _load_room function it uses for the loop and dice rooms. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
What is the actual error being displayed/printed? The only way that line can break is when the loaded map is not a Node2D. |
Beta Was this translation helpful? Give feedback.


Well, you did put a breakpoint there...