Bad Access Error in

Can’t find what caused this, maybe somebody knows ?

Unity 5.2.2.p3, Xcode 7.1, Mac OS El Capitan 10.11.1, iPod, iOs 9.1

I have Bad Access Error in this line of :

  • (BOOL)displayAvailable:(UIScreen*)targetScreen;
    return self[targetScreen] != nil;


  • (DisplayConnection*)display:(UIScreen*)targetScreen
    return self[targetScreen];

Because of NIL in the argument.

It seems when calling UnityUpdateDisplayList() method in Unity, iOs gets back null result.

Can somebody help me ?


Here is the best answer… Display Manager Null Exception on iOS build - Questions & Answers - Unity Discussions