Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2021.1.0a6
Issue ID
1294088
Regression
Yes
Crash on (GameAssembly) il2cpp_assert and error Debug assertion failed! when building with IL2CPP & executing Try-Catch block
How to reproduce:
1. Open the attached project from "il2cpp_nested_trycatch_bug.zip"
2. Open scene "SampleScene"
3. Navigate to File > Build Settings... > Build And Run
Reproducible with: 2021.1.0a6, 2021.1.0a7
Not reproducible with: 2018.4.28f1, 2019.4.15f1, 2020.1.15f1, 2020.2.0b12, 2021.1.0a5
First lines of stacktrace:
0x00007FFC73E96CCE (GameAssembly) [D:\UnityVersions\2021.1\2021.1.0a7_fdd63b12dbc0\Editor\Data\il2cpp\libil2cpp\os\Win32\Assert.cpp:12] il2cpp_assert
0x00007FFC73C7E51E (GameAssembly) il2cpp::utils::ExceptionSupportStack<Il2CppObject * __ptr64,1>::push
0x00007FFC749AE7E1 (GameAssembly) [D:\Downloads\ddd\New folder\case_1281069-il2cpp_nested_trycatch_bug\case_1281069-il2cpp_nested_trycatch_bug\Library\Il2cppBuildCache\Windows\x64\il2cppOutput\Assembly-CSharp.cpp:564] Test_Start_m4D6FA0B24EBFD6471F4596A93EC95EC1EB5355D8$catch$1
0x00007FFC74077CB0 (GameAssembly) CallSettingFrame_LookupContinuationIndex
Notes:
- The issue does not reproduce with Mono and changing API compatibility levels does not have an effect.
- Does not reproduce on Mac.
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
- “Unsupported type MinMaxCurve” error and “Could not register property modification for animation binding…” warnings are thrown after moving playhead when Particle System Property is added to Animation window
- Inconsistent "Mock HMD Loader" naming in the "Project Settings"
- Search Field breaks when deleting a Search Expression that has been converted to a Visual Query Block
- Outdated documentation page is linked when clicking on the Help icon for "Virtual Texturing" Module in Profiler Window
- [Linux] No “File already exists” pop-up thrown when saving Shader Variants with an already existing name from Build Profiles or Project Settings window
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a10