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
- UI Builder can't set a background image to a sprite from a multi-sprite spritesheet in the Resources folder
- Light2D freeform does not render the internal part when rendered in certain shapes
- Using AddCopyPass causes an incorrect merging of passes.
- Negative Enum value is not pasted correctly when copying from another array
- Silent Crash when generating Lightmap UVs for a model with a large object scale
Add comment