Search Issue Tracker
Fixed
Fixed in 2021.3.7f1, 2022.1.8f1
Votes
4
Found in
2021.3.3f1
Issue ID
UUM-1129
Regression
Yes
InflateFieldDefinition crash in builds when a specific script is included and IL2CPP Code Generation is set to Faster runtime
How to reproduce:
1. Open the attached project ("repro_1426854.zip")
2. In Build Settings, make sure Development Build, Script Debugging are checked and IL2CPP Code Generation is set to Faster runtime
3. Build and Run
Reproducible with: 2021.2.0b8, 2021.3.3f1
Not reproducible with: 2021.2.0b7, 2022.1.0a1, 2022.1.2f1, 2022.2.0a15
Could not test with: 2019.4.39f1, 2020.3.35f1 (IL2CPP Code Generation option is available from 2021.2.0a17)
Reproducible on:
macOS 12.1 (Intel)
iPhone 13 mini (iOS 15)
First lines of the crash:
0 GameAssembly.dylib 0x11a27cb50 il2cpp::vm::InflateFieldDefinition(FieldInfo const*, FieldInfo*, Il2CppClass*, Il2CppGenericContext*) + 0 (GenericClass.cpp:122) \[inlined]
1 GameAssembly.dylib 0x11a27cb50 il2cpp::vm::GenericClass::SetupFields(Il2CppClass*) + 96 (GenericClass.cpp:148)
2 GameAssembly.dylib 0x11a28c623 il2cpp::vm::SetupFieldsLocked(Il2CppClass*, il2cpp::os::FastAutoLock const&) + 99 (Class.cpp:1073)
3 GameAssembly.dylib 0x11a28a8e6 il2cpp::vm::Class::SetupFields(Il2CppClass*) + 102 (Class.cpp:1091)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Sprite Editor Window not visualizing changes when selecting different Filter Modes
- Crash on UnityEngine.Rendering.RenderPipelineAsset:InternalCreatePipeline () when opening a project
- The Texture Shape of an Image changes from 2D to a Cube when the project is upgraded to 2019 and above
- Building 3D Sample Scenes (URP) Project fails
- Alpha channel is disabled when Alpha Clip Threshold is set to 0
Add comment