Unity 5.6.0f3 issue when building with xcode

Hi, I need your help. Thanks in advance

Working with a MAC
XCode: 8.2.1
Previous unity version: 5.5.1f1
Current unity version: 5.6.0f3
Device: iPad mini 2

  1. I was working with 5.5.1f1 and i need to upgrade unity. So, I installed 5.6.0f3 the latest version.
  2. When I run the project for the first time, in the new unity version, it made an assets conversion.
  3. I run the project and it worked well.
  4. I built an iOS project.
  5. I opened Xcode and I built the project
  6. Xcode finished installing the app in my iPad mini 2. When it started running it crashed

It shows a memory position with Thread1: EXC_BAD_ACCESS(code=1, address=0x0)
Function 0:: CreateMaterial

Log from XCode:

2017-05-08 17:23:15.207280 APP_NAME[2035:594605] → registered mono modules 0x10135cc60

2017-05-08 17:23:15.517112 APP_NAME[2035:594605] 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()

Player data archive not found at /var/containers/Bundle/Application/15B901E0-A1B5-4745-9850-7F95F90123C2/**APP_NAME**.app/Data/data.unity3d, using local filesystem2017-05-08 17:23:15.678947 APP_NAME[2035:594605] Metal GPU Frame Capture Enabled

2017-05-08 17:23:15.680392 APP_NAME[2035:594605] Metal API Validation Disabled

→ applicationDidBecomeActive()

GfxDevice: creating device client; threaded=1

Initializing Metal device caps: Apple A7 GPU

Initialize engine version: 5.6.0f3 (497a0f351392)

APP_NAME was compiled with optimization - stepping may behave oddly; variables may not be available.

I’ve found the issue.
It related with the Metal API

I disabled it and It works well. I’m using OpenGL 3.0

1 Like