Search Issue Tracker
Fixed in 4.6.X
Votes
0
Found in
4.6.0b17
Issue ID
628655
Regression
Yes
Regression: Exceptions which are manually thrown in Button callback events are obscured
To Reproduce:
1. Open the project from the attached 'buttonReproProj.zip' and run.
2. Click on 'Throw Exception' and 'Invoke Button' buttons.
3. Notice if 'OnButton' is called by actually clicking the button the thrown 'InvalidOperationException' is not identified correctly(?) by Unity. All data related to the actual exception, it's type, the stack trace are not shown, neither in the Console nor the in the Editor.log.
4. Calling the event through onClick.Invoke (); does not obscure the aforementioned information.
5. Uncomment the try/catch block, notice that if the exception is caught it's name and stack-trace are not hidden.
Regression in b15
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Diagnostics does not report Editor exceptions when using CrashReportingSettings.captureEditorExceptions
- No Prompt to restart the Editor appears when Changing Active Input Handling via Project Settings Presets
- Exporting a .csv file includes entries with ExcludeEntryFromExport when the first locale entry is null
- Collections package fails module verification when compiling and adding Burst function pointers to a HashMap inside a Burst compiled method
- Panel.Pick() returns incorrect elements when the target UIDocument's Render Mode is set to World Space
Add comment