Search Issue Tracker
Fixed
Votes
0
Found in
2019.4.11f1
2020.3
2021.1.11f1
2021.2
Issue ID
1401771
Regression
Yes
[IL2CPP] Nesting finally block is proceeded incorrectly when a task is cancelled at building by IL2CPP.
Reproduction steps:
1. Open the attached project "FilanllyTest.zip"
2. Switch the platform to Android
3. Make sure the scripting backend is set to IL2CPP
4. Build and Run on an Android device
5. Inspect the displayed results on the device
Expected result: Displayed text from up to bottom "try1, try2, finally1, finally2"
Actual result: Displayed text from up to bottom "try1, try2, finally1"
Reproducible with: 2019.4.11f1, 2020.3.28f1, 2021.2.0b7
Not reproducible with: Unity 2019.4.10f1, 2021.2.0b8, 2022.1.0b7, 2022.2.0a4
Notes:
-Not reproducible when the scripting backend is set to Mono
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
- Crash on GizmoDrawingPhysics2D::DrawCompositeCollider2DGizmo when opening a Scene that has corrupted GameObjects with Tilemap Components
- Scrolling vertically and horizontally is very fast when in Play Mode and RuntimeInputBackend is set to UIToolkitInputBackendOption.Default
- Crash on MemoryProfiler::UnregisterAllocation when initializing entities and leaving Play Mode with Occlusion Culling enabled
- Crash on mdb_page_alloc when opening a project that was running while the PC shut down
- macOS Player freeze when using RunInBackground and Command+Tabbing to and from the application
Resolution Note:
Fixed in 2021.2.0b8 and above