Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2020.2.X
Votes
1
Found in
2018.4
2020.1.6f1
2020.2
Issue ID
1281069
Regression
No
[IL2CPP] Nested Try-Catch and Throw statement results in different behaviour than Mono build
How to reproduce:
1. Open the attached project from "il2cpp_nested_trycatch_bug.zip"
2. Enter Play Mode and see Console
3. Navigate to File > Build Settings... > Build And Run
4. See Developer Console
Expected result: same error shown in consoles
Actual result: different errors are shown in consoles
Reproducible with: 2018.4.27f1, 2019.4.11f, 2020.1.8f1, 2020.2.0b5
Notes:
- The issue does not reproduce with Mono and changing API compatibility levels does not have an effect.
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
- HDR Output gets disabled in the Editor when Reflection Probe is enabled during runtime
- The "Build and Run" Menu option tries to build for the selected Build Platform instead of the Active Build Platform
- Font kerning breaks at runtime when multiple UI Documents use different fonts
- MissingReferenceException occurs when entering Play mode with a locked GameObject in the Inspector
- Return value and out parameter get scrambled when a Custom HLSL Operator is used
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a7
Resolution Note (fix version 2020.2):
Fixed in 2020.2.4f1