Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

[bugreport] Any project built by Unity 5.4.* with IL2CPP crashes in iOS Simulator on early startup

Discussion in '5.4 Beta' started by pshirshov, Jul 14, 2016.

  1. pshirshov

    pshirshov

    Joined:
    May 7, 2016
    Posts:
    1
    Sorry guys, I can't post via unity bug reporter because it tries to upload 2Gb of my files and I have no idea how to avoid it.

    1. What happened

    Any unity project (including Unity example one) crashes while starting up in iOS simulator when IL2CPP turned on.

    Code (CSharp):
    1. CrashReporter: initialized
    2.  
    3. 2016-07-12 13:04:44.431 testproject[36775:278343] -> registered mono modules 0x10560a880
    4. -> applicationDidFinishLaunching()
    5. PlayerConnection initialized from /Users/user/Library/Developer/CoreSimulator/Devices/61D91426-B49B-4606-99E3-DEF80FD3CA31/data/Containers/Bundle/Application/31F44725-A306-43C0-B3F7-BF8EAD1DC175/testproject.app/Data (debug = 0)
    6. PlayerConnection initialized network socket : 0.0.0.0 55000
    7. dyld: lazy symbol binding failed: Symbol not found: __ZN10systeminfo24GetRuntimePlatformStringEv
    8. Referenced from: /Users/user/Library/Developer/CoreSimulator/Devices/61D91426-B49B-4606-99E3-DEF80FD3CA31/data/Containers/Bundle/Application/31F44725-A306-43C0-B3F7-BF8EAD1DC175/testproject.app/testproject
    9. Expected in: flat namespace
    10.  
    11. dyld: Symbol not found: __ZN10systeminfo24GetRuntimePlatformStringEv
    12. Referenced from: /Users/user/Library/Developer/CoreSimulator/Devices/61D91426-B49B-4606-99E3-DEF80FD3CA31/data/Containers/Bundle/Application/31F44725-A306-43C0-B3F7-BF8EAD1DC175/testproject.app/testproject
    13. Expected in: flat namespace
    14.  
    15. (lldb)

    2. How we can reproduce it using the example you attached

    - Open Unity sample project
    - Build for iOS player with IL2CPP and Simulator SDK. iOS version doesn't matter
    - Build & Run with XCode
     
  2. christophergoy

    christophergoy

    Unity Technologies

    Joined:
    Sep 16, 2015
    Posts:
    735
    Hi @pshirshov,
    We have seen this in our build farm. Could you tell me which version of the 5.4 beta you are using? This might be fixed in an upcoming build.
    Cheers,
    Chris