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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment