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
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
Add comment