googlevr / gvr-ios-sdk

Google VR SDK for iOS
http://developers.google.com/vr/ios/
Other
645 stars 191 forks source link

Crash app #287

Closed erickfox closed 6 years ago

erickfox commented 6 years ago

Hello,

my app crashed on line 1479 of the header file GVR. h, my device is an IPhone 5c

 /// For more information, see gvr_initialize_gl().
void InitializeGl() { gvr_initialize_gl(context_); }

someone can help me

sanjayc77 commented 6 years ago

Do you have a stack trace? Any additional context regarding what you are trying to achieve will also help.

erickfox commented 6 years ago

example.txt Hi, attachment Crash file

sanjayc77 commented 6 years ago

Hmm, that's not much to go by. This issue was similar: https://github.com/googlevr/gvr-ios-sdk/issues/288

iPhone 5c does not support OpenGLES 3. Can you try changing EAGLContext initialization to OpenGLES2 here and report back?

erickfox commented 6 years ago

It is, just the same problem. I will follow the #288 thread to work the solution, thank you very much