Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2019.4.X, 2020.3.X
Votes
6
Found in
2019.4.35f1
Issue ID
1400410
Regression
Yes
[IL2CPP] Build fails on Try block ends without any catch, finally, nor fault handler
Reproduction steps:
1. Open project "IL2CPP_repro"
2. Make sure Scripting Backend is set to IL2CPP
3. Build the project
Expected result: Build does not fail
Actual result: Build fails with this error:
IL2CPP error for method 'System.Boolean System.Text.Json.Serialization.JsonConverter`1::WriteCore(System.Text.Json.Utf8JsonWriter,T&,System.Text.Json.JsonSerializerOptions,System.Text.Json.WriteStack&)' in assembly 'E:\Markas\IL2CPPBuildError\IL2CPP_repro\Temp\StagingArea\Data\Managed\System.Text.Json.dll'
Additional information: Try block ends without any catch, finally, nor fault handler
Reproducible with: 2019.4.35f1
Not reproducible with: 2019.4.34f1, 2020.3.30f1, 2021.2.15f1, 2022.2.0b11, 2022.2.0a7
Notes:
-Not reproducible with Mono Scripting Backend
-Not reproducible with macOS
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
- Light rendering artefacts appear in the Editor when assigning unsupported 3D Custom Render Texture in Camera’s Output Texture, unclearable errors and warnings spammed
- Memory leak when running a test with "GfxThreadingMode" set to "SplitJobs"
- Loading Unloaded unsaved Scene throws “ArgumentException” error in the Console
- Crash on std::__1::__tree_const_iterator when opening the Build Profiles window in a specific project
- Sub-State machine “breadcrumb trail” doesn’t fit in the window if there’s too many Sub-State machines
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.34f1
Resolution Note (fix version 2019.4):
Fixed in: 2019.4.38f1