Search Issue Tracker

Fixed in 5.3.6



Found in


Issue ID




[iOS] Crash on presentRenderbuffer:GL_RENDERBUFFER in PresentGles when loading a scene on A9 devices



To Reproduce:

1. Build and deploy the project attached to the comment to an iPhone 6S.
2. Press the home button and reopen the app (might be necessary to repeat this several times (up to 5-10)).

The app crashes in PresentGles / [surface->context presentRenderbuffer:GL_RENDERBUFFER]; (stacktrace)

The scene which is loaded only has a mesh with a standard shader and a script which continuously switches between it and another scene with a canvas and an UI image.

Could only reproduce on an iPhone 6s, so this might be A9 specific, couldn't reproduce on:

iPhone 6+ iOS 9.0
iPhone 6+ iOS 8.0
iPad mini 4 iOS 9.0
iPad mini 2 iOS 9.0

Only reproducible with GLES2, no crash when using Metal


Seems to be an A9 driver issues, we've submitted a bug to apple:

Radar: 23225771 Crash in EAGL presentRenderBuffer when awaking from backgrounded state

and we're waiting for their response.


Apple have fixed this bug in the upcoming iOS 9.3.3.

The bug in the current iOS is related to accessing mips in cubemap textures, so work arounds for supporting devices before this update include not using cubemaps and using legacy cubemap assets (which allow mipmaps to be turned off).

Unfortunately, even with the fix in the new iOS, it is still possible to get crashes on A9/A9x devices when using openGLES. These cases seem to be related to reflection probes and can be avoided by marking reflection probe textures as uncompressed. We are continuing to investigate and talk to Apple about these remaining crashes.

Comments (24)

  1. 0dccdd6c9a4b84b82befc9099a4ef794?d=mm


    Dec 23, 2015 07:31

    Same here, happens on iphone 6s plus. Doesn't happen on Metal but that is not a solution since we need to use GLES2

  2. 6f67992f2f9c5ed9c61afc2143d589a4?d=mm


    Dec 07, 2015 12:09

    This happens in our project on on iPhone6S (iOS 9.1) and iPad Pro (iOS 9.1). Using Unity 5.2.2f1, going to try 5.2.3f1

  3. 577fc51481ab43a779baeaa7d7658b69?d=mm


    Dec 07, 2015 04:35

    We see crash with same callstack in Unity 5.3.2.p2. Can't track down what's causing it, our game runs for a while and then crashes out on this.

  4. 97bf8d57278c02cb0141c8d206515862?d=mm


    Oct 27, 2015 14:56

    Also reproduces in 5.2.0. We are registering crashes on this only on iPhone 6S and iPhone 6S+.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.