Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

IL2CPP Initialization Failed

Discussion in 'iOS and tvOS' started by liamliu97, Jun 11, 2020.

  1. liamliu97

    liamliu97

    Joined:
    Jun 6, 2020
    Posts:
    1
    This is the full error I get when building my game for iOS through xCode to run on my phone.

    2020-06-11 09:26:58.347443-0400 Slinggo[52073:14701609] UnityIAP UnityEarlyTransactionObserver: Created

    2020-06-11 09:26:58.347675-0400 Slinggo[52073:14701609] UnityIAP UnityEarlyTransactionObserver: Registered for lifecycle events

    CrashReporter: initialized

    2020-06-11 09:26:58.465977-0400 Slinggo[52073:14701609] Built from '2019.3/staging' branch, Version '2019.3.0f3 (6c9e2bfd6f81)', Build type 'Release', Scripting Backend 'il2cpp'

    no boot config - using default values

    (Filename: Line: 152)


    -> applicationDidFinishLaunching()

    [libil2cpp] ERROR: Could not open /private/var/containers/Bundle/Application/EDEB9B2A-E885-42A8-BCF3-BBF2859BFCA3/Slinggo.app/Data/Managed/Metadata/global-metadata.dat

    IL2CPP initialization failed

    I am unsure as to what the issue is and have searched around to no avail. The game runs perfectly fine in Unity when using the simulator and the Remote app, however it will not build and run on my phone through xCode
     
  2. saadW3

    saadW3

    Joined:
    Jul 22, 2022
    Posts:
    1
    Hey, did you manage to get a fix for it. I am getting the same error. I am using Unity 2021 LTS.

     
  3. cyourch

    cyourch

    Joined:
    Apr 10, 2018
    Posts:
    1
    I'm getting the same error!


    -> applicationDidFinishLaunching()

    Found 2 interfaces on host : 0) 192.168.86.30 1) 169.254.207.64

    Multi-casting "[IP] 192.168.86.30 [Port] 55000 [Flags] 2 [Guid] 3746610133 [EditorId] 0 [Version] 1048832 [Id] iPhonePlayer(8,RDC3):56000 [Debug] 0 [PackageName] iPhonePlayer [ProjectName] <no name>" to [225.0.0.222:54997]...

    [libil2cpp] ERROR: Could not open /var/containers/Bundle/Application/217E2B82-0DAB-426B-AF70-7F5B802C7CFC/RDC-Inspect.app/Frameworks/UnityFramework.framework/Data/Managed/Metadata/global-metadata.dat

    IL2CPP initialization failed