- Home /
Unity iOs project gets crashed when returning from internal method UnityUpdateDisplayList()
Can't find what caused this, maybe somebody knows?
Unity 5.2.1f1, iPad mini 2, iOs 8.4
I have Bad Access Error in this line of DisplayManager.mm:
(BOOL)displayAvailable:(UIScreen*)targetScreen; { return self[targetScreen] != nil; } because of NIL in the argument.
It seems when calling UnityUpdateDisplayList() method in Unity, iOs gets back null result.
Can somebody help?
I seem to be getting this error too...any findings on what could be causing this to happen?
Cheers,
Stefan
Nothing so far. I rolled back to 5.1.4, and filled a bug report.
Turning OFF "ARC" doesn't solved the problem for me, an other solution please ?
Answer by scottmontgomerie · Oct 10, 2015 at 12:52 AM
This happened to me when I turned off ARC. Turning it back on resolved the problem.
Yes, that seem to be it. In my case I was testing a 4.X project in 5.X and Xcode complained that one of the plugins didn't like it, making me turn it off. I removed the plugin and re-enabled ARC and it compiles.
Thanks guys! :)
Your answer
Follow this Question
Related Questions
Unity 5.6.5p2 Crash when iOS10 using keyboard 2 Answers
IOS Crash during build on Mac for Unity 5.3.4 0 Answers
Our Unity game crash random in iOS with Unity 5.3.5p7 0 Answers
Unity 5.0.1 ios app crashes on load 4 Answers
[UnityAppController renderingAPI] called before [UnityAppController selectRenderingApi] 1 Answer