'Unity UWP Application crashes on HoloLens2 without Exception-Log

After a undefined while of usage my UWP-App on HoloLens2 made with unity3d crashes. In my Application I listen to logMessages with the follwing line and write the them into a TXT-Log-File.

Application.logMessageReceivedThreaded += HandleLog

The Logfile contains no Exceptions or any unexpected behaviour after the Application crashes. Is It possible that the line of code above does not log every exception thorwn? For example Application.logMessageReceived does not, so maybe this is the wrong approach to log exceptions. The second reason for the crashes could be a internal OS-Error, is there a way to find out the reasons for App-Crashes on HoloLens2 via some kind of internal logFile?

Or is there any other reason I didn´t think about which can result in such Crashes?

Thanks in advance.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source