Search Issue Tracker

Fixed in 1.5.1-pre.3

Votes

3

Found in [Package]

1.4.12

Issue ID

BOLT-1036

Regression

No

[Bolt] Bolt 1 IL2CPP Release Build Crashes on Startup when there is at least 1 Node present in a Graph

Package: Bolt

-

Fogbugz case for the Il2CPP team: https://fogbugz.unity3d.com/f/cases/1284772/

 

Reproduction steps:
1. Open the attached user's project "Hyperspeed Fragfest.zip"
2. In the Project window under "Assets" open "HF Main New.unity" Scene
3. In the Hierarchy window there is a GameObject named "GameObject" which has an embedded State Machine Graph with one "Get Scene count" Node
4. Build for Standalone Player

Expected result: Bolt 1 IL2CPP Release Build does not crash on Startup when there is at least 1 Node present in a Graph
Actual result: Bolt 1 IL2CPP Release Build Crashes on Startup when there is at least 1 Node present in a Graph

Reproduces on: Bolt 1.4.12 (2020.1.5f1)
Does not reproduce on: Bolt 1.4.12 (2019.4.10f1, 2020.2.0b2)
Could not test on 2018.4.28f1 due to the project breaking

First 10 lines of Stack trace:
0x00007FFAC5DDF4B6 (GameAssembly) [C:
Program Files\\2020.1\\2020.1.5f1_e025938fdedc\\Editor\\Data\\il2cpp\\libil2cpp\\vm
Class.cpp:64] il2cpp::vm::Class::FromIl2CppType
0x00007FFAC5DE9D79 (GameAssembly) [C:
Program Files\\2020.1\\2020.1.5f1_e025938fdedc\\Editor\\Data\\il2cpp\\libil2cpp\\vm
MetadataCache.cpp:791] il2cpp::vm::MetadataCache::GetTypeInfoFromTypeIndex
0x00007FFAC5DC67A3 (GameAssembly) [C:
Program Files\\2020.1\\2020.1.5f1_e025938fdedc\\Editor\\Data\\il2cpp\\libil2cpp\\icalls\\mscorlib\\System
RuntimeTypeHandle.cpp:148] il2cpp::icalls::mscorlib::System::RuntimeTypeHandle::GetGenericParameterInfo
0x00007FFAC63049B3 (GameAssembly) [C:\\Cases\\case_1274709-Hyperspeed_Fragfest\\Temp\\StagingArea\\Data\\il2cppOutput
mscorlib13.cpp:19466] RuntimeType_get_GenericParameterAttributes_m7BC8F4CC3B9F8604C6A564C193FE0DC08EC157D9
0x00007FFAC60D6897 (GameAssembly) [C:\\Cases\\case_1274709-Hyperspeed_Fragfest\\Temp\\StagingArea\\Data\\il2cppOutput
Ludiq.Core.Runtime5.cpp:17865] TypeUtility_CanMakeGenericTypeVia_m7964CB86CB985819D7662DC07E93B4E6E9541BC0
0x00007FFAC6629F2A (GameAssembly) [C:\\Cases\\case_1274709-Hyperspeed_Fragfest\\Temp\\StagingArea\\Data\\il2cppOutput
Ludiq.Core.Runtime7.cpp:12970] U3CGetInheritedExtensionMethodsU3Ed__8_MoveNext_m9E495744C10D04712DBDB15225C3CC237B830DF8
0x00007FFAC63BB00E (GameAssembly) [C:\\Cases\\case_1274709-Hyperspeed_Fragfest\\Temp\\StagingArea\\Data\\il2cppOutput
Generics3.cpp:21782] Buffer_1__ctor_m07D912F7AC47B43493D1097AB3C391AA28328EC8_gshared
0x00007FFAC61098DD (GameAssembly) [C:\\Cases\\case_1274709-Hyperspeed_Fragfest\\Temp\\StagingArea\\Data\\il2cppOutput
GenericMethods5.cpp:31912] Enumerable_ToArray_TisRuntimeObject_m21E15191FE8BDBAE753CC592A1DB55EA3BCE7B5B_gshared
0x00007FFAC601D1ED (GameAssembly) [C:\\Cases\\case_1274709-Hyperspeed_Fragfest\\Temp\\StagingArea\\Data\\il2cppOutput
Ludiq.Core.Runtime3.cpp:21956] MemberUtility_GetExtensionMethods_m5FD265FC931B15055CB525B546A3A07393C363A9
0x00007FFAC601CC4B (GameAssembly) [C:\\Cases\\case_1274709-Hyperspeed_Fragfest\\Temp\\StagingArea\\Data\\il2cppOutput
Ludiq.Core.Runtime3.cpp:23195] MemberUtility_GetExtendedMember_m9BAF77D976D00D63E51D3078D384E184575CEAF8

Notes:
-Issue only occurs on IL2CPP backend
-Issue only reproduces with Release and Debug C++ Compiler configuration
-Issue reproduces with .Net 4 and .Net 2 Api Compatibility Levels
-Full Stack trace named "Player.log" is attached
-If the Embedded State Machine Graph or "Get Scene count" Node is removed the Build no longer crashes
-Issue reproduces only on Standalone Build
-Issue does not reproduce on a new Project

  1. Response avatar

    Resolution Note (fix version 1.5.1-pre.3):

    Fixed in 2020.1.14f1

Comments (1)

  1. 0808ebf27c9ba81d7b1e105f66d6a186?d=mm

    magnusfox

    Oct 14, 2020 09:04

    We're seeing this as well, and it happens unfortunately irregularly (although most of the times). It's seemingly random if a build will succeed or if it hard crashes on start-up with the above error.

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.