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
- Text render issues and various exceptions in TextCore when using TextSettings option "Match Material Presets"
- NullReferenceException error is thrown when unpacking multiple instances of the same UI Document
- URP Decal Projectors don't render when they are hidden in the Hierarchy, unlike other GameObjects
- Reflection Probe “adjusting number of stops to over or under expose the texture” setting does not update in Scene realtime
- UI Toolkit rendered text breaks when toggling FontWeight styles through code
Add comment