Godot Version
Godot 4.4.1
Question
Hi!
I’ve been having this issue where my game crashes upon unloading a specific pretty large scene. This would be fine, but I can’t get any error message to pop up in editor or through the console when opening the game with --verbose.
Through testing, this seems to be happening when the scene gets unloaded.
Running the following code on that scene consistently gets the game to crash without an error message.
SceneTree tree = GetTree();
tree.UnloadCurrentScene();
The code above works on every other scene with no issue.
The only idea I have would be related to object pooling, as the scene makes heavy use of it. However, this shouldn’t impact the unloading process since all those nodes would end up getting deleted alongside their parent node.
Does anyone know what I could do to fix or at least get an error message to show up somehow?
Edit:
This is what shows up when running it through console.
================================================================
CrashHandlerException: Program crashed with signal 11
Engine version: Godot Engine v4.4.1.stable.mono.official (49a5bc7b616bd04689a2c89e89bda41f50241464)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] error(-1): no debug info in PE/COFF executable
[2] error(-1): no debug info in PE/COFF executable
[3] error(-1): no debug info in PE/COFF executable
[4] error(-1): no debug info in PE/COFF executable
[5] error(-1): no debug info in PE/COFF executable
[6] error(-1): no debug info in PE/COFF executable
[7] error(-1): no debug info in PE/COFF executable
[8] error(-1): no debug info in PE/COFF executable
[9] error(-1): no debug info in PE/COFF executable
[10] error(-1): no debug info in PE/COFF executable
[11] error(-1): no debug info in PE/COFF executable
[12] error(-1): no debug info in PE/COFF executable
[13] error(-1): no debug info in PE/COFF executable
[14] error(-1): no debug info in PE/COFF executable
[15] error(-1): no debug info in PE/COFF executable
[16] error(-1): no debug info in PE/COFF executable
[17] error(-1): no debug info in PE/COFF executable
[18] error(-1): no debug info in PE/COFF executable
[19] error(-1): no debug info in PE/COFF executable
-- END OF BACKTRACE --
================================================================