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
- The Inspector rounds up float values up to a maximum of 7 digits and overwrites the actual values in the file when saving the asset
- Distant Shadowmask does not cast Shadows on Terrain when baking with Adaptive Probe Volumes
- UI Toolkit Debugger "Text Overlays" dropdown is opened in the wrong position when Dynamic Atlas Viewer is opened
- NullReferenceExceptions are thrown on Editor launch when the Project window was locked in the previous project
- Render Pipeline Converter selected asset counter reports one fewer item when using manual selection
Add comment