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
- After converting a Built-in project to URP render texture related errors are spammed that can lead to Game view being rendered on top of Scene view
- UI Builder slider value lags and stutters when sliding/modifying certain property values
- "Reset UI Builder Layout" functionality inconsistently changes Canva Size when "Match Game View" is enabled/disabled
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
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