iOS: OpenGLES error 0x0500 with Camera Texture as Background

Hi guys,

I’m working on an AR application, and I’ve set up a second camera attached to the camera that sets the background of my application to the background of the view. This has been working for all my iPhones and iPads (up to the iPhone 5) up until the latest versions (iPhone 6). Now, with the new chipset, all Unity content renders and runs properly, but even though the camera permissions are requested, the texture shows up as blank.

I have an older iPad with iOS 8, and it runs perfectly, so I don’t think it’s related to the new release.

I believe this is related to the 64-bit chipset, since that’s the only major change I can think of that might break the compatibility.

The debugger gives me this error over and over when I run my app now:

OpenGLES error 0x0500 in /<path to>/Classes/Unity/GlesHelper.mm:369

Has anyone run into a similar issue, and know how to resolve it? Since it’s an OpenGL error, I’m not even sure what it means.

I am encountering the same issue

Found that the problem is that WebCamTexture does seem to cause the trouble with OpenGL ES 3.0. Go to PlayerSettings and set Graphics Level to Force OpenGL ES 2.0