Hello Everyone,
I am simply trying to build my game (which fully works in a standalone export on a Mac and in the editor) for use on an Android Phone.
The game crashes as soon as it launches. Sometimes it will render a load of coloured noise just before crashing.
Using logcat, I am getting the following errors from the game:
(Filename: ./Runtime/GfxDevice/egl/ConfigEGL.cpp Line: 163)
[EGL] eglGetConfigAttrib(): EGL_BAD_CONFIG: An EGLConfig argument does not name a valid EGL frame buffer configuration.
(Filename: ./Runtime/GfxDevice/egl/ConfigEGL.cpp Line: 163)
[EGL] eglGetConfigAttrib(): EGL_BAD_CONFIG: An EGLConfig argument does not name a valid EGL frame buffer configuration.
(Filename: ./Runtime/GfxDevice/egl/ConfigEGL.cpp Line: 163)
[EGL] eglGetConfigAttrib(): EGL_BAD_CONFIG: An EGLConfig argument does not name a valid EGL frame buffer configuration.
…(those lines are repeated multiple times)…
Followed by
(Filename: ./Runtime/GfxDevice/egl/ConfigEGL.cpp Line: 163)
Can’t add component because class ‘OVRManager’ doesn’t exist!
(Filename: ./Runtime/Misc/GameObjectUtility.cpp Line: 691)
Can’t add component because class ‘OVRCameraRig’ doesn’t exist!
(Filename: ./Runtime/Misc/GameObjectUtility.cpp Line: 691)
error opening cache file /data/data/com.CompanyName.Gamename/cache/com.android.opengl.shaders_cache: Permission denied (13)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 21678 (UnityMain)
What am I doing wrong when building for Android, please?
Thanks in advance for your help!
bitter
October 27, 2015, 4:57pm
2
Are you deploying for GearVR?
i am having the same issue craeting my own android plugin which was working fine and then boom this even on a empty scene the code from the jar file wasnt change. Any ideas