Search Issue Tracker
Fixed in 2020.3.40f1
Fixed in 2020.3.X, 2021.3.X, 2022.1.X, 2022.2.X, 2023.1.X, 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
- Unity Cloud icon does not appear next to project and does not connect correctly when the project is created with Cloud but closed right after creation
- ScrollerSlider in the Scroller Control is still using UXMLTraits
- Crash on ExtractHandles when shutting down the Editor in a specific scene while Burst jobs are in progress
- Unity Hub closes with no "Project is currently open" window when selecting an already open project from the Projects list
- The Hub freezes indefinitely when copy/pasting a lot of characters in the “Set project display name” Hub window since it has no character limit
Add comment