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:
- Download last Vuforia SDK for Unity (Engine Developer Portal).
- Download last Vuforia Unity samples (Engine Developer Portal).
- Build and run project in an iPhone4.
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.