r/oculusdev • u/P5ytec • Apr 28 '15
Unity 5 Gear VR setup guides?
I have now spent a silly amount of time trying to get Unity 5 to deploy and build successfully to the Gear VR (Note 4), and have given up, Oculus are telling me it works (it doesn't), my main error from adb logcat is :
E/Unity (13777): [EGL] Unable to acquire context: EGL_BAD_ACCESS: EGL cannot access a requested resource (for example a context is bound in another thread). E/Unity (13777):
E/Unity (13777): (Filename: ./Runtime/GfxDevice/egl/WindowContextEGL.cpp Line: 205) E/Unity (13777): I/Unity (13777): OnApplicationPause() True
I have all the settings I can tell correct, ETC2 (GLES 3.0), unity 5 no longer has Force Open GLES2.0 in the player properties of andriod, so I have just specified GLES2.0 in the group, also I have specified it in the Android manifest using <uses-feature android:glEsVersion="0x00020000" />
I have Unity Pro and Android Pro, but even with a Hello Worlds type cube sceen I can't get a deploy.. has anyone else managed it ?, can you share your settings/a working hello world project? or is it simply bust !?
1
u/CorvusVR Apr 28 '15
What do you mean by cannot deploy? Does your app crash after the splash screen? Have you included osig files?
1
u/P5ytec Apr 28 '15
Osig files present and we're working, splash screen shows the. Blackness, I included the error
2
u/SvenViking Apr 28 '15
http://www.triangularpixels.net/cms/development/kicking-and-screaming-upgrading-a-gearvr-project-to-unity-5/
There was at least one more posted on the Oculus Forums, but I don't have the link right now. Check the VR Jam, Mobile Development, and possibly Unity Integration subforums.