Search Issue Tracker
Fixed in 2021.3.16f1
Fixed in 2023.2.0a6
Votes
1
Found in
2021.3.14f1
2022.2.8f1
2023.1.0b9
2023.2.0a6
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
- The "Use AI Assistant" checkbox is always either checked or unchecked regardless of the state that it was in during the previous Unity project creation when creating a new Unity project
- UI Builder Inspector fails to stylize attribute display name when the attribute is defined via UxmlObjectReference
- Points Lights are getting culled prematurely when using Forward+ and Deferred+ rendering paths
- Search's Indexing settings in the Preferences window are not searchable
- Crash on block_locate_free when opening a specific project
Resolution Note (fix version 2021.3.16f1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-18685
Resolution Note (fix version 2023.2.0a6):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-18685