Search Unity

Android Build Crashing - "EGL_BAD_CONFIG" and "'error opening cache file .../opengl.shaders.cache"

Discussion in 'Android' started by HopelessHyena, Oct 13, 2015.

  1. HopelessHyena

    HopelessHyena

    Joined:
    May 26, 2015
    Posts:
    18
    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:

    ...(those lines are repeated multiple times)...
    Followed by
    What am I doing wrong when building for Android, please?
    Thanks in advance for your help!
     
    Last edited: Oct 13, 2015
  2. bitter

    bitter

    Unity Technologies

    Joined:
    Jan 11, 2012
    Posts:
    530
    Are you deploying for GearVR?
     
  3. masterchop

    masterchop

    Joined:
    Oct 9, 2015
    Posts:
    39
    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