project instantly crashes

Godot Version

godot 4.5

Question

when i press the play button from the editor i get the window to pop up and all the _ready functions happen but the boot splash doesn’t disappear and resizing the window shows no draw functions are happening.
i have confirmed that this only happens with this project.
i don’t know my computers specs apart from its old and there is a sticker on it that says amd A8 and its a lenovo running manjaro.
the error seems like a compute length thing because after a while the window closes without an error mesage.
the project is kind of big but that shouldn’t affect a mostly useless main menu.

can you give more details and a screen shot?
that would be great!

Have a look at the debugger and see where it’s spending all its time; maybe it’s stuck in a loop somewhere?

Have you tried running it using --verbose? If you’re unfamiliar and using Windows, here’s how: Broke my Godot software? - #2 by zigg3c

If you are trying to run it from the editor, you can enable that from Project Settings > Debug > Settings > stdout > Verbose stdout

You would then check the log file generate in the user://logs directory for what happened (Project > Open User Data Folder). Make sure logs are enabled in Project Settings > Debug > File Logging (they are by default on PC).

tried that. not recording anything

i thank you for telling me about verbose but i cant seem to find anything helpful in the logs.

as far as i can tell wherever the problem is doesn’t have a log setup.

You could potentially run Godot under an external debugger (GDB…) and see if it catches anything…

You could also try running individual scenes and see if just one of them has the problem, or if it’s all of them.

stuck in a loop yes. i ended up shoving prints everywhere to find an indefinite for loop

1 Like