Godot Version
v4.4.1.stable.official [49a5bc7b6]
I have a big issue right now: Godot quits unexpectedly, with no error (I run it on verbose).
And obviously, it only happens on one of my exported project, not when I run it with the editor.
I have absolutely no clue how to debug that (besides adding tons of logs and try to get to the problematic line in my code, if there’s one). Do you know anything that can generate this behavior? You’d save my life (or at least save me from a bunch of awful hours).
You got your first steps right there already. To save time you can do the binary-search approach and just put a few prints in you code to pin down, where it stops and circle in on it.
And also: you provide not much information about your problem, really. So broadly speaking: if in editor/debug mode your project runs, but the export does not, chances are, your export settings are bad.
Thank you for your help, you made me get a better understanding of the issue.
My export works if I use Godot editor and click on export. But when I do it through command lines, it generates this issue.
My command line is rather trivial: Godot.exe --path ../MyGame --export-release “Windows Desktop” ..\MyGame.exe
And if I open my project after the command line export, it says that Godot crashed. I have that error whatever project I export through command line.
It doesn’t look like an issue on my side. Maybe I should report a bug to Godot’s team.