Why are engine error messages not in log file?

Godot Version

4.2.1.stable.mono

Question

Hello. The godot.log file in the user directory doesn’t appear to list engine errors. I know I can send my own error messages there (if I catch them), but I’d like to see all the thrown errors.

Appreciate any help. Thank you!

Can you give an example of an engine error that doesn’t appear in the log file?

An example would be a System.NullReferenceException. You can trigger it with something trivial like:

string aNullString = null;
GD.Print(aNullString.Length);

The NRE will appear in the debugger tab, but not the godot.log file.

This is a known issue: mono - Exceptions are not logged. · Issue #54389 · godotengine/godot · GitHub