Search Issue Tracker
Fixed in 2019.1.X
Votes
14
Found in
5.3.0f4
Issue ID
753944
Regression
No
Assigning a custom Debug.logger.logHandler doesn't intercept thrown exceptions
To reproduce:
1. Open project
2. Press play
Notice that the "Test" class intercepts Debug.Log and Debgu.LogException, but doesn't intercept the exception it throws.
Comments (3)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- PlayerPrefs get corrupted when a minimized fullscreen Player is closed through the Taskbar
- "To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations." warning is printed when JobTempMemoryLeakValidation switch is enabled
- Main Thread stalling when loading Audio Source asset asynchronously while preloading another Audio Source asset
- Material artifacts occur in the Material Preview window when baked lighting is applied to scenes
- “ArgumentOutOfRangeException” after saving, reseting and re-add Default Tile Palette Tools to the list in Preferences window
k0mbain
Jan 19, 2018 13:15
Present in 2017.1.2p3. It has almost 2 years. Duh!
LKWD_JamesD
May 02, 2017 09:26
Present in 5.4.5f1.
Is there any way to catch these?
Tinus
May 24, 2016 16:54
Just ran into this issue. We're trying to route all exceptions to GetSentry.com, a REST service but are having significant trouble finding the correct point to insert logging hooks. Capturing all Debug.Log callbacks can be done through multiple means, but this appears to be the only place to get exceptions.
Except, while the LogFormat callback of the ILogHandler interface is called, the LogException callback is completely dormant.
This is still an issue as of 5.3.5f1