I've tried to log errors, so I can figure out the error which closed the program. My current setup is as follows:
Project Settings -> Logging -> Enable File logging: True
Project Settings -> Logging -> Enable File logging.pc: True
Logpath: output/output.log (I create this folder on run)
Max Log Files:5
It logs fine, up until the error occurs. From my understanding the error should be logged as well, but it does not. Here's an example of a log file:
Godot Engine v3.2.3.stable.mono.official - https://godotengine.org
OpenGL ES 3.0 Renderer: GeForce RTX 2070/PCIe/SSE2
Mono: Log file is: 'C:/Users//AppData/Roaming/Godot/appuserdata/endless-runner-v2/mono/monologs/20201221 13.03.14 (17128).txt'
It crashed at this point due to the program not being able to find a folder, which I forgot to create. But the error was never logged. The error appears shortly in the debug window, so the only way to find it was to monitor the debug log.
This is a pretty important feature to work for me, since without it makes debugging errors on releases impossible. From what I could read, this should work, so I think the error might be releated to C#, but I'm unsure. Anyone have an idea how to fix this