Games are crashing when running with Xcode : Creating OpenGLES2.0 graphics device / EXC_BAD_ACCESS

Hi! I’m with a problem here with all my games so far: I successfully generate a Xcode project from Unity. After that I open Xcode and build / run the project on my iPhone 5 device but Xcode stops on the same line every time with a EXC_BAD_ACCESS problem. Always after the “Creating OpenGLES2.0 graphics device” log.
Can you guys help me here? Maybe I’m doing something wrong?

I’m using
Unity PRO 4.6.7p1
Xcode 6.4
OS X 10.10.4
iPhone 5 with iOS 8.3

  • The game runs ok after I press “Stop” on Xcode (by opening it directly on the device)… I just can’t debug it directly on Xcode because of this error.

Same here with Unity 5.0.2f1 and 5.1.1.
Happens only on OpenGL 2.0 devices.

same here

It maybe caused by texure format. ression_pvrtc

Same problem here, Unity 4.6.7, when forcing to OpenGLES2.0 (iphone 6).
Wasn’t happening on previous versions 4.6.5 and before.

not sure what to do, as i cannot debug! argh!
pvrtc is the standard ios compression, so it’s not like I can just turn that off…?

I upgraded to iOS 8.4 and it’s solved :smile:

Unity Issue Tracker - [iOS] Crash in AllocateRenderBufferStorageFromEAGLLayer on iOS 8.3 This seems to be some issue with the debugger and is only reproducible on iOS 8.3. If you’re not launching the app through Xcode it should not crash.