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
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
Add comment