Search Issue Tracker

Duplicate

Votes

0

Found in

2018.3.9f1

2018.4.0f1

2019.1.0a1

2019.2.0a1

2019.3.0a1

Issue ID

1156331

Regression

Yes

[IL2CPP] catch (Exception) doesn't catch exceptions thrown in try-finally statements

IL2CPP

-

To reproduce:
1. Open attached project "throw.zip"
2. Open "SampleScene.unity" scene
3. Build for iOS
4. Deploy the Xcode project to an iOS device
5. Observe the Xcode console

Expected result: getting"!!! Succeed !!!" in the console
Actual result: getting "!!! Failed !!!" in the console

Reproduced on:
2018.3.9f1 2018.4.0f1 2019.1.4f1 2019.2.0b3 2019.3.0a3

Not reproduced on:
2017.4.0f1 2018.3.8f1

Devices reproduced on:
- iPhone 8 Plus iOS 12.0
- VLNQA00103 Samsung Galaxy Note8 7.1.1 Exynos 9 Octa 8895 Mali-G71 OpenGL ES 3.2
- iMac MacOS 10.14.4

Notes:
- Doesn't reproduce on Mono

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.