Search Issue Tracker

Fixed in 2018.3.X

Fixed in 2018.2.X



Found in


Issue ID




[Il2CPP][.Net 4.x] Crash in "il2cpp::utils::Debugger::InitializeTypeSourceFileMap()" at startup



Reproduction steps:
1. Open the project from the attached '' link.
2. Go to "File > Build Settings" and remove an empty scene from the "Scenes In Build" list.
3. Select the 'BuildPipeline' asset in the Project view.
4. Set Build to iOS and click Build.
5. Open and build the Xcode project in the project folder > Target > iosbuild.

Actual behavior:
- Crash
- Full call stack attached in the Edit below.

* frame #0: 0x0000000101cc6e20 `il2cpp::utils::Debugger::InitializeTypeSourceFileMap() at Debugger.cpp:120 [opt]
frame #1: 0x0000000101cc7188 `il2cpp::utils::Debugger::Start() at Debugger.cpp:146 [opt]
frame #2: 0x0000000101cbfb5c `il2cpp::vm::Runtime::Init(char const*, char const*) + 2576
frame #3: 0x0000000101478e30 `::InitializeIl2CppFromMain() at MonoManager_Il2Cpp.cpp:257 [opt]
frame #4: 0x0000000100e641e8 `::UnityInitApplicationNoGraphics() at [opt]
frame #5: 0x00000001000f7b60 `::-[UnityAppController application:didFinishLaunchingWithOptions:](self=0x0000000106d73d20, _cmd=<unavailable>, application=<unavailable>, launchOptions=<unavailable>) at [opt]

Reproduced with:

Not reproducible with:
2017.4.6f1, 2018.1.7f1

- Possibly a regression, but it may be a project compatibility issue with older Unity versions using custom builder.

Comments (12)

  1. sschilp

    Aug 02, 2018 15:04

    We have the same issue.
    Using Unity 2018.2.0f2

  2. aianovskyi

    Jul 31, 2018 12:35

    We have the same issue in 2018.2.1f1

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.