Search Issue Tracker

Fixed

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)

  1. loomdoom

    Nov 25, 2022 15:31

    got the same issue with
    Unity 2021.3.14f1

    deployed on hololens2 (os build 20348)
    built against sdk 10.0.20348

    when built with debug symbols it's looking for Compare method from IComparer in CompareDevicesByUserAccount class

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.