- Home /
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 have same issue. iPhone5S ( A7 or later ) do not show that message. But, my project $$anonymous$$imum target device is iPhone4s and iOS 8.0
Answer by hrlarsen · Oct 27, 2014 at 10:15 AM
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
I've got the same problem. Forcing OpenGL ES 2.0 did not fix it. I have a native plugin that is using the camera and then binding the texture in the OpenGL context so that unity can use it. I have a separate plugin on OS X that works fine but I get the 0x0500 error on iOS.