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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Game Crashing upon launch - Latest Unity 5.0.2f1

Discussion in 'iOS and tvOS' started by Zhinkk, May 26, 2015.

  1. Zhinkk

    Zhinkk

    Joined:
    Jan 16, 2013
    Posts:
    13
    EDIT: Fixed! A somewhat of a solution below. Not exactly sure what caused this, and I'm not exactly sure what fixed it. Hell, I'm not really sure of what to be sure of anymore.

    I'm using the latest release of Unity (5.0.2f1) and xcode 6.2. I'm at a total loss at what to do. The only plugins I'm using in my project are the materialUI plugin and adbuddiz sdk. I submitted a ticket but I haven't gotten a response yet. Apple rejected my app because it crashes on iOS 8.1. I don't have a device with iOS 8.1 to test it on (only an iOS 6 device, which it doesn't crash on), and the iOS 8.1 simulator crashes (known bug apparently: http://forum.unity3d.com/threads/un...-xcode-version-6-3-2-6d2105-simulator.327643/)

    So what can I do? I've rebuilt my game from the ground up, removed everything I wasn't using, and recompiled it but it still crashes. They sent me the following crash reports (I symbolicated them)

    Built using Unity 4.6: http://pastebin.com/raw.php?i=UBdfzJ6F
    Built using the latest Unity 5.0.2f1: http://pastebin.com/raw.php?i=TNDq9XQr

    Thanks!
     
    Last edited: Jun 10, 2015
  2. Zhinkk

    Zhinkk

    Joined:
    Jan 16, 2013
    Posts:
    13
    In the second log it says:


    Dyld Error Message:
    Symbol not found: _UnityRegisterProInterface
    Referenced from: /private/var/mobile/Containers/Bundle/Application/E3FD9E90-4DF2-4CB8-A309-1B94E1DF88D4/RingPass.app/RingPass
    Expected in: flat namespace
    Dyld Version: 353.12

    Does this mean I messed up something in xcode? I don't remember changing any values, but some googling shows me that "dyld errors are caused by a missing or a bad library linking, not code".
     
  3. povilas

    povilas

    Unity Technologies

    Joined:
    Jan 28, 2014
    Posts:
    427
    Could you please post the number of the submitted ticket?
     
  4. Zhinkk

    Zhinkk

    Joined:
    Jan 16, 2013
    Posts:
    13
    The ticket number is 699320. I upgraded to Unity 5.0.2p4 and the crash still occurs (this time I tried building with IL2CPP w/ Universal Architecture). This is the crash error (which also occurs on a device):


    dyld: lazy symbol binding failed: Symbol not found: _UnityRegisterProInterface
    Referenced from: /Users/shivangsaxena/Library/Developer/CoreSimulator/Devices/4E6F2909-E116-494D-9D9A-CF68E5E47ED1/data/Containers/Bundle/Application/68EE237C-6FBC-4F3B-8634-2871BF6E2D5E/RingPass.app/RingPass
    Expected in: flat namespace

    dyld: Symbol not found: _UnityRegisterProInterface
    Referenced from: /Users/shivangsaxena/Library/Developer/CoreSimulator/Devices/4E6F2909-E116-494D-9D9A-CF68E5E47ED1/data/Containers/Bundle/Application/68EE237C-6FBC-4F3B-8634-2871BF6E2D5E/RingPass.app/RingPass
    Expected in: flat namespace

    (lldb)
     
    Last edited: Jun 5, 2015
  5. Mantas-Puida

    Mantas-Puida

    Unity Technologies

    Joined:
    Nov 13, 2008
    Posts:
    1,864
    Did you replace your Xcode project from scratch (instead of appending it) after upgrading Unity?
     
  6. Zhinkk

    Zhinkk

    Joined:
    Jan 16, 2013
    Posts:
    13
    After trying literally everything (creating new xcode, using different versions, etc), it FINALLY WORKS! I hate to say it, but I'm not exactly sure how it was fixed. Here were the things that were done:

    1. Clicked licencing in the help menu and "reactivated" my personal licence.
    2. Restarted Unity
    3. Unchecked and rechecked "Use unity splash screen"
    4. Put in textures for all of the splash screen files
    5. Took off all textures of the splash screen files
    6. Restarted Computer
    7. Recompiled for xcode (IL2CPP, Universal, .net subset)

    I left xcode completely untouched (except adding storekit and adsupport for adbuddiz). Sorry, but these are all the steps I remember doing.

    I hope that anybody else that was having this issue gets theirs fixed as well because this bug frustrated a lot. I saw a few other people having this issue on the forums.
     
    Last edited: Jun 10, 2015