Godot Engine crashes - is there a log file?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By avnih

Godot Engine crashes every once in a while while I’m working on it - along with its console window.
I can’t figure out the reason.
Is there a log file left anywhere after the crash?

:bust_in_silhouette: Reply From: Gamemap

Yes, there is a file (look here : File paths in Godot projects — Godot Engine (latest) documentation in English)
Serch your project folder in the User Data folder. In this project folder is a logs folder.

Thanks. I knew about the user data location, but assumed it’s my project’s log, not the engine’s log.

avnih | 2021-03-24 07:51

Please select it as an answer, if it is woking.

Gamemap | 2021-03-24 09:24

Actually the engine just crashed now, and I can’t see in the User Data folder any relevant or recent log.
Under %APPDATA%\Godot\ there’s app_userdata/my_project_name/logs with godot.log in it but this log is older than the time of the crash, and it contains only things relevant to my project (print outs and code errors) but nothing that pertains to the Godot engine itself.
Also under %APPDATA%\Godot\ there’s projects/my_project_name, and in it filesystem_cache and a bunch of *.cfg files, but no log file.

Can you direct me to the exact name of the crash log?

avnih | 2021-03-24 13:05

I am using Godot in self contained mode and have also not found a log file. I would recommend you to use a screen recorder to see what errors occur.

Gamemap | 2021-03-24 14:04

Tried running Godot from command line, so that the console won’t automatically close, with --verbose flag. Nothing interesting was printed out there.

avnih | 2021-03-26 08:35