Search Issue Tracker

Fixed

Fixed in 2021.3.11f1, 2022.1.23f1, 2022.2.0b11, 2023.1.0a9

Votes

0

Found in

2021.3.7f1

2022.1.11f1

2022.2.0b3

2023.1.0a4

Issue ID

UUM-10859

Regression

Yes

Crash on il2cpp::icalls::mscorlib::System::RuntimeType::GetGUID when Building and Running a project using IL2CPP Scripting Backend

--

-

Reproduction steps:
1. Open the attached project "GuidResolutionError.zip"
2. Build And Run the project using IL2CPP Scripting Backend

Expected result: Build And Run was successful, and the Application did not crash
Actual result: The Application crashes after a few seconds

Reproducible with: 2021.2.14f1, 2021.3.7f1, 2022.1.11f1, 2022.2.0b3, 2023.1.0a4
Not reproducible with: 2020.3.37f1, 2021.2.13f1

Reproduced on: Windows 10 Pro

Note: The issue is not reproducible when using Mono Scripting Backend

First few lines of the stack trace:
{{0x00007FFD450E53D7 (GameAssembly) [C:\Program Files\Unity\Hub\Editor\2021.3.6f1\Editor\Data\il2cpp\libil2cpp\icalls\mscorlib\System\RuntimeType.cpp:1172] il2cpp::icalls::mscorlib::System::RuntimeType::GetGUID }}
{{4530x00007FFD45764FF1 (GameAssembly) [C:\LocalDevelopment\Scratch\GuidResolutionError\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\mscorlib5.cpp:21599] RuntimeType_get_GUID_m15A896117B5DB0E1AFC19D7130C1F4F07BA14A96 }}
{{4540x00007FFD451832F2 (GameAssembly) [C:\LocalDevelopment\Scratch\GuidResolutionError\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Assembly-CSharp.cpp:1227] QueryAssemblies_BuildTypeCache_m02DFC15104BF2DBEEF3E7D70282B5B923E4078A3 }}
{{4550x00007FFD4510E156 (GameAssembly) [C:\Program Files\Unity\Hub\Editor\2021.3.6f1\Editor\Data\il2cpp\libil2cpp\vm\Runtime.cpp:577] il2cpp::vm::Runtime::InvokeWithThrow }}
{{4560x00007FFD4510DC09 (GameAssembly) [C:\Program Files\Unity\Hub\Editor\2021.3.6f1\Editor\Data\il2cpp\libil2cpp\vm\Runtime.cpp:562] il2cpp::vm::Runtime::Invoke}}

  1. Resolution Note (fix version 2023.1.0a9):

    Fixed in: 2023.1.0a9

  2. Resolution Note (fix version 2022.2.0b11):

    Fixed in: 2022.2.0b11

  3. Resolution Note (fix version 2022.1.23f1):

    Fixed in: 2022.1.23f1

  4. Resolution Note (fix version 2021.3.11f1):

    Fixed in: 2021.3.11f1

Comments (1)

  1. SimonDarksideJ

    Aug 19, 2022 20:49

    Any details as to when the fix will be back-ported to 2021?

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.