Search Issue Tracker
Fixed
Fixed in 2020.3.41f1, 2021.3.12f1, 2022.1.23f1, 2022.2.0b11, 2023.1.0a15
Votes
0
Found in
2022.1.12f1
2022.2.0b4
2023.1.0a4
Issue ID
UUM-12498
Regression
Yes
IL2CPP build crashes on Virtual Generic method call with Faster (smaller) builds enabled
Reproduction steps:
# Open the attached project(“Crash_Symbols.zip”)
# Press File>Build and Run
Expected result: Build successfully runs
Actual result: Build crashes
Reproducible with: 2021.3.8f1, 2022.1.0a14, 2022.1.0a15, 2022.1.12f1, 2022.2.0b4, 2023.1.0a4 (With IL2CPP Code Generation set to Faster (smaller) builds)
Not reproducible with: 2020.3.37f1
Second Preproduction Steps:
Reproduction steps:
# Open the attached project(“ReflectionInvokeCrash.zip”)
# Press File>Build and Run
Expected result: Build successfully runs
Actual result: Build crashes
Reproducible with: 2020.3.37f1, 2021.3.8f1, 2022.1.0a14, 2022.1.0a15, 2022.1.12f1, 2022.2.0b4, 2023.1.0a4
First lines of stacktrace:
0x00007FFBF9CC6474 (GameAssembly) [C:\Program Files\Unity\2022.1.10f1_9aa0f82c4f96_x64\Data\il2cpp\libil2cpp\vm\GlobalMetadata.cpp:1318] il2cpp::vm::GlobalMetadata::GetGenericParameterFromIndex
0x00007FFBF9C40222 (GameAssembly) [C:\Program Files\Unity\2022.1.10f1_9aa0f82c4f96_x64\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp:562] GetFullySharedInst
0x00007FFBF9C40DC1 (GameAssembly) [C:\Program Files\Unity\2022.1.10f1_9aa0f82c4f96_x64\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp:692] il2cpp::vm::MetadataCache::GetGenericMethodPointers
0x00007FFBF9B4370D (GameAssembly) [C:\Program Files\Unity\2022.1.10f1_9aa0f82c4f96_x64\Data\il2cpp\libil2cpp\metadata\GenericMethod.cpp:225] il2cpp::metadata::GenericMethod::CreateMethodLocked
0x00007FFBF9B44E1D (GameAssembly) [C:\Program Files\Unity\2022.1.10f1_9aa0f82c4f96_x64\Data\il2cpp\libil2cpp\metadata\GenericMethod.cpp:191] il2cpp::metadata::GenericMethod::GetMethod
0x00007FFBF9B44EC7 (GameAssembly) [C:\Program Files\Unity\2022.1.10f1_9aa0f82c4f96_x64\Data\il2cpp\libil2cpp\metadata\GenericMethod.cpp:138] il2cpp::metadata::GenericMethod::GetMethod
Reproducible on: Windows 11
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Browse" button for Xcode in the "Build Profiles" window is too big
- USS styles fail to inherit correctly when contentContainer is overridden in a custom control
- Copying and pasting Animator Transitions leads to unexpected behaviour
- "ShaderGraph" misses a space in the "Project Settings" section
- UI Builder inspector’s checkbox fields can be activated when clicking anywhere in the value field
Add comment