Search Issue Tracker
By Design
Votes
2
Found in
2019.4
2019.4.34f1
2020.3
2021.2
2022.1
2022.2
Issue ID
1411415
Regression
No
AppDomain exception events do not get called
How to reproduce:
1. Open the attached project ("1411415_202220a8.zip")
2. Open the "SampleScene" Scene
3. Enter Play Mode
4. Observe the Console window
Expected result: UnhandledException is called, "Logging unhandled exception." is logged in the Console
Actual result: UnhandledException is not called, "Logging unhandled exception." is not logged in the Console
Reproducible with: 2019.4.37f1, 2020.3.32f1, 2021.2.17f1, 2022.1.0b13, 2022.2.0a8
Note:
- Also reproducible with IL2CPP builds
Comments (1)
-
brungarc
Apr 21, 2022 15:08
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
- [iOS] "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously when using specific Project Settings and Anti-aliasing is enabled
- Inconsistent help box font size in Project Settings window
- Local package MonoBehaviour scripts appear as missing after updating the project when the project and package paths share the same prefix
- AssetBundle Variants do not switch when a Sprite (2D and UI) texture is referenced from a Material
- Location tooltip in the Viewport of UI Builder window does not update when the UI Document Asset is moved to a different location
Resolution Note (2022.2.X):
Use the ILogHandler (https://docs.unity3d.com/ScriptReference/ILogHandler.html) interface to reliably get information about managed exceptions on any thread.