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

Crash on startup, 5.5.0f1 iOS 10.

Discussion in 'Editor & General Support' started by almo, Dec 18, 2016.

  1. almo

    almo

    Joined:
    Jul 14, 2010
    Posts:
    83
    I can't edit the title... it's 5.5.0f3.

    This happens while running on my iOS 10.2 iPhone SE.

    When it calls UnityInitApplicationGraphics(UNITY_FORCE_DIRECT_RENDERING);
    Sometimes it crashes. This is the output log:

    2016-12-18 10:20:10.153187 cognizer[829:181470] [DYMTLInitPlatform] platform initialization successful

    2016-12-18 10:20:10.221163 cognizer[829:181371] -> registered mono modules 0x100e24860
    2016-12-18 10:20:10.325502 cognizer[829:181371] You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
    -> applicationDidFinishLaunching()
    2016-12-18 10:20:10.378250 cognizer[829:181371] Metal GPU Frame Capture Enabled
    2016-12-18 10:20:10.378934 cognizer[829:181371] Metal API Validation Disabled
    -> applicationDidBecomeActive()
    GfxDevice: creating device client; threaded=1
    Init: screen size 640x1136
    Initializing Metal device caps: Apple A9 GPU
    cognizer was compiled with optimization - stepping may behave oddly; variables may not be available.​

    ::GfxDeviceMetal() fails with EXEC_BAD_ACCESS.

    This is in a project that worked fine under 5.3.5. Maybe I could disable Metal or something?
     
    Last edited: Dec 19, 2016
  2. almo

    almo

    Joined:
    Jul 14, 2010
    Posts:
    83
    Update:

    I removed Metal from the Graphics API setting, and left OpenGLES2 and 3. Now it works fine.
     
    xysverma likes this.
  3. xysverma

    xysverma

    Joined:
    May 8, 2013
    Posts:
    10
    Worked like a charm. Thanks..
     
    almo likes this.
  4. SimteractiveDev

    SimteractiveDev

    Joined:
    Jul 9, 2014
    Posts:
    97
    Also want to say thanks for providing a solution.

    Edit: I see it's been fixed in 5.5 patch 2 :)
     
    almo likes this.
  5. almo

    almo

    Joined:
    Jul 14, 2010
    Posts:
    83
    Awesome, I'll get that version. :)
     
  6. psuwara

    psuwara

    Joined:
    Jan 29, 2017
    Posts:
    2
    Hi all,

    Advising we still have the same issue on 5.5.0.f3, we'll update if the suggested fix of removing metal also fixes it for us.
     
  7. mahmoud93p

    mahmoud93p

    Joined:
    Feb 11, 2015
    Posts:
    64
    Thank you is work for me in unity 2018