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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment