Crash on startup, 5.5.0f1 iOS 10.

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 -[ 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?

Update:

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

1 Like

Worked like a charm. Thanks…

1 Like

Also want to say thanks for providing a solution.

Edit: I see it’s been fixed in 5.5 patch 2 :slight_smile:

1 Like

Awesome, I’ll get that version. :slight_smile:

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.

Thank you is work for me in unity 2018