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

IL2CPP

-

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.

  1. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.0a7

  2. Resolution Note (fix version 2020.2):

    Fixed in 2020.2.4f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.