Search Issue Tracker
Not Reproducible
Fixed in 2018.3.X
Votes
1
Found in
2018.3.0a1
2018.3.0f2
2019.2.0a1
Issue ID
1114381
Regression
Yes
IL2CPP generated code calls "try-catch-finally" incorrectly creating wrong call flow
Steps to reproduce:
1. Open 'trycatchfinal' project
2. Build for Android with IL2CPP
3. Inspect the logcat
Expected result: Finally block should be called only after while loop finishes.
Current result: Finally block is called every iteration of while loop.
Reproduced with: 2018.3.0a1, 2018.3.2f1, 2019.1.0a1, 2019.1.0a7, 2019.1.0a12, 2019.1.0a13, 2019.2.0a1
Doesn't reproduce with: 2017.4.18f1, 2019.1.0a14
Regressed in: 2018.3.0a1, 2019.2.0a1
Devices under test:
VLNQA00022, Xiaomi Redmi Note 3 (Redmi Note 3), 5.1.1, CPU: Snapdragon 617 MSM8952, GPU: Adreno (TM) 510
Expected output (Editor, Android(mono)):
Loop Start 0
Inner Try
Loop Start 1
Inner Try
Loop Start 2
Inner Try
Loop Start 3
Inner Try
Loop Start 4
Breaking
Outer Finally
Current output (Android(IL2CPP)):
Loop Start 0
Inner Try
Outer Finally
Loop Start 1
Inner Try
Outer Finally
Loop Start 2
Inner Try
Outer Finally
Loop Start 3
Inner Try
Outer Finally
Loop Start 4
Breaking
Outer Finally
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 D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
Add comment