Search Issue Tracker
Fixed in 2022.2.8f1
Fixed in 2021.3.16f1
Votes
1
Found in
2021.3.14f1
Issue ID
UUM-20019
Regression
Yes
[IL2CPP] Player crashes on GetVirtualMethod when using the Input System 1.4.4 Package
How to reproduce:
1. Open the user-attached project “BuildTest”
2. Click Build And Run
3. Observe the Player
Expected result: The Player is opened when the project is built
Actual result: The Player is crashing immediately on the startup
Reproducible with: 2021.3.12f1, 2021.3.14f1
Not reproducible with: 2020.3.41f1, 2021.3.11f1, 2022.1.23f1, 2022.2.0f1, 2023.1.0a19
Reproducible on: Windows 11 Pro
Note: Not reproducible with Mono builds
First few lines on a stack trace:
0x00007FFD2433D3B1 (GameAssembly) [C:\Program Files\Unity\2021.3.14f1_eee1884e7226\Data\il2cpp\libil2cpp\vm\Class.cpp:2242] il2cpp::vm::Class::GetVirtualMethod
0x00007FFD243CFFDB (GameAssembly) [C:\Program Files\Unity\2021.3.14f1_eee1884e7226\Data\il2cpp\libil2cpp\metadata\GenericMetadata.cpp:289] il2cpp::metadata::GenericMetadata::InflateRGCTXLocked
0x00007FFD243306F3 (GameAssembly) [C:\Program Files\Unity\2021.3.14f1_eee1884e7226\Data\il2cpp\libil2cpp\metadata\GenericMethod.cpp:254] il2cpp::metadata::GenericMethod::CreateMethodLocked
0x00007FFD24383944 (GameAssembly) [C:\Program Files\Unity\2021.3.14f1_eee1884e7226\Data\il2cpp\libil2cpp\vm\GlobalMetadata.cpp:367] il2cpp::vm::GlobalMetadata::InitializeAllMethodMetadata
Comments (1)
-
loomdoom
Nov 25, 2022 15:31
got the same issue with
Unity 2021.3.14f1deployed on hololens2 (os build 20348)
built against sdk 10.0.20348when built with debug symbols it's looking for Compare method from IComparer in CompareDevicesByUserAccount class
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on CollectAllSceneManagerAndObjectIDs when opening a specific Scene
- GPU device suspended error when replaying a video in the Video Player with NVIDIA Vertical Sync set to Fast
- GPU device suspended error when replaying a video in the Video Player with NVIDIA Vertical Sync set to Fast
- SetComponentEnabled uses class instead of struct when constraining Enableable Component type
- [iOS] Application.deepLinkActivated does not get invoked while app is running when UIApplicationSceneManifest is added in Info.plist
Resolution Note (fix version 2022.2.8f1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-18685
Resolution Note (fix version 2021.3.16f1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-18685