OpenGLES error 0x0500 with Vuforia 3.0 and above in iPhone4

Hi to all,

I’m having problems with Vuforia (v3.0.6, v3.0.9 or v4.2.3), Unity 4.5.5p3 and iPhone4. Some months before it looked that all was working perfectly, but these days I was trying to compile an application but camera looks black always and I receive this error in every frame:

OpenGLES error 0x0500 in /Users/ebosch/Documents/EngidiaProjects/Projects/Durolane/ra_rodilla/Export/iOS/ar_durolane/Classes/Unity/GlesHelper.mm:373

OpenGLES error 0x0500 indicates that an OpenGLES function is getting an invalid enum (GL_INVALID_ENUM). I’ve tried compiling with Unity 4.4, 4.5.5p3 and last 4.6.6 and with all Xcode versions from 5.1.1 until current 6.3.1 but I get always this error.

It could be something related to iPhone 4 or iOS 7.1.2. I’ve tried the same application in and iPad 3 and it’s working perfect.

I’ve tried an older version of Vuforia (2.8.9) and it’s working perfect. I’ve tried also Vuforia samples with last version 4.2.3 for NATIVE iOS and it’s also working perfect.

In the other hand, I’ve tried Vuforia 4.2.3 for Unity and I get the same OpenGL error. So I think this could be a problem with Unity OpenGLES workflow.

Has anyone encountered the same issue?

To reproduce this issue it’s really simple:

Hope someone can help to fix this problem.

PD: I’ve tried so many scenarios and I could have fixed only the problem by downgrading Vuforia to 2.8.9, but it’s not a good option to use such an old SDK.

there were some recent issues with vuforia that were fixed in 5.x for sure. As for 4.x - can you please create a bug report with small repro project so we can recheck

Hi,

I’ve created two bug reports. A project with Vuforia v3.0.9 and a project with Vuforia v4.2.3.

Thanks and hope it’s fixed in Unity 4.x.

Please share your bugreport case numbers.

Hi @Mantas-Puida ,

I think what you are asking for are these links, right?
Bug with Vuforia v3.0.9 http://fogbugz.unity3d.com/default.asp?705075
Bug with Vuforia v4.2.3 http://fogbugz.unity3d.com/default.asp?705077

Thanks

According to our QA, upgrading Vuforia to latest version fixes crashing issues.
Could you please try it?

I’ve tried with last Vuforia version too, but still not work.

Today I’ve checked the projects with a different device, an iPhone 4 (A1332, GSM model) and it’s working perfect.

I’ve tried to run again the project in the original device I’m having these problems, an iPhone 4 (A1349, CDMA model), and still does not work. It could be a problem with iPhone 4 (A1349, CDMA model) only?

Thanks