Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Other Platforms App crashes on Android since upgrade to 5.4B11

Discussion in '5.4 Beta' started by InsaneGoblin, Apr 2, 2016.

  1. InsaneGoblin

    InsaneGoblin

    Joined:
    Jun 2, 2013
    Posts:
    239
    The app runs fine on the editor and iOS, but not on Android. Opening the app turns the screen black (as if it was loading), then after a couple seconds it's back to the home.

    Logcat throws this error:

    E/Unity: [EGL] eglChooseConfig(m_EGLDisplay, configAttribs, NULL, 0, &eglConfigCount): EGL_BAD_ATTRIBUTE: An unrecognized attribute or attribute value was passed in the attribute list.
    (Filename: ./Runtime/GfxDevice/egl/ConfigEGL.cpp Line: 360)

    W/MALI: __egl_set_error:121: [WARNING]Mali EGL errorcode: 3004

    Google didn't help at all. Maybe someone knows what is going on?

    Thanks!
     
  2. MrEsquire

    MrEsquire

    Joined:
    Nov 5, 2013
    Posts:
    2,712
    have you tried Beta 12, also which Android device you testing on?
     
  3. InsaneGoblin

    InsaneGoblin

    Joined:
    Jun 2, 2013
    Posts:
    239
    Chaz32621 likes this.
  4. InsaneGoblin

    InsaneGoblin

    Joined:
    Jun 2, 2013
    Posts:
    239
  5. cmanny

    cmanny

    Joined:
    Oct 22, 2015
    Posts:
    10
  6. InsaneGoblin

    InsaneGoblin

    Joined:
    Jun 2, 2013
    Posts:
    239
    Has been investigated for months, apparently.

    Great, I missed the deadline for delivering the app weeks ago and now I need to wait for the devs to acknowledge this issue and solve it.

    Oh well...
     
    Chaz32621 and MrEsquire like this.
  7. MrEsquire

    MrEsquire

    Joined:
    Nov 5, 2013
    Posts:
    2,712
    I know your pain, but why are you developing on a beta for final release?
    And just so Im not one sided, from the replies in other threads, seems devs not giving to much info or know the cause of the issue!
     
  8. InsaneGoblin

    InsaneGoblin

    Joined:
    Jun 2, 2013
    Posts:
    239
    The beta upgrade was a huge mistake on my part. For one project, I wanted the 5.4 to take advantage of the new instancing system. Unfortunately, I opened the main project on beta, upgrading it. It's been weeks now and I cannot downgrade.

    Mind checking the full log to see if there's something I missed?

    Info:

    04-15 11:14:28.588 2194-2204/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.mycompany.myproduct/com.unity3d.player.UnityPlayerActivity (has extras)} from uid 10043 on display 0

    04-15 11:14:28.700 2194-19389/? I/ActivityManager: Start proc 30814:com.mycompany.myproduct/u0a142 for activity com.mycompany.myproduct/com.unity3d.player.UnityPlayerActivity

    04-15 11:14:30.713 2194-2213/? W/WindowManager: Force clearing orientation change: Window{a6a190e u0 Starting com.mycompany.myproduct}

    04-15 11:14:30.744 2194-2213/? W/WindowManager: Force clearing freeze: AppWindowToken{c8865f8 token=Token{41a895b ActivityRecord{3c9606a u0 com.mycompany.myproduct/com.unity3d.player.UnityPlayerActivity t52019}}}

    04-15 11:14:30.982 2194-2213/? I/LaunchCheckinHandler: Displayed com.mycompany.myproduct/com.unity3d.player.UnityPlayerActivity,cp,ca,2314

    04-15 11:14:30.982 2194-2213/? I/ActivityManager: Displayed com.mycompany.myproduct/com.unity3d.player.UnityPlayerActivity: +2s314ms

    04-15 11:14:31.039 2194-2213/? I/WindowManager: Screen frozen for +2s325ms due to Window{53fe10f u0 com.mycompany.myproduct/com.unity3d.player.UnityPlayerActivity}

    04-15 11:14:37.829 30814-30860/? E/linker: warning: unable to get realpath for the library "/data/app/com.mycompany.myproduct-2/lib/arm/libBlueDoveMediaRender.so". Will use given name.

    04-15 11:14:39.322 30289-30301/? I/Finsky: [4925] com.google.android.finsky.billing.iab.m.a(159): com.mycompany.myproduct: Account from first account - [od4fKEC4zIwSTy3qf4lgbJxM6Q4]

    04-15 11:14:39.325 30814-30925/? I/UnityIAP: In-app billing version 3 supported for com.mycompany.myproduct

    04-15 11:14:39.329 30289-30300/? I/Finsky: [4924] com.google.android.finsky.billing.iab.m.a(159): com.mycompany.myproduct: Account from first account - [od4fKEC4zIwSTy3qf4lgbJxM6Q4]

    04-15 11:14:39.331 30814-30925/? I/UnityIAP: Package name: com.mycompany.myproduct

    04-15 11:14:39.334 30289-30328/? I/Finsky: [4946] com.google.android.finsky.billing.iab.m.a(159): com.mycompany.myproduct: Account from first account - [od4fKEC4zIwSTy3qf4lgbJxM6Q4]

    04-15 11:14:39.340 30289-30301/? I/Finsky: [4925] com.google.android.finsky.billing.iab.m.a(159): com.mycompany.myproduct: Account from first account - [od4fKEC4zIwSTy3qf4lgbJxM6Q4]​

    Warn:

    04-15 11:03:08.167 2194-2213/? W/WindowManager: Force clearing orientation change: Window{2916db6 u0 Starting com.mycompany.myproduct}

    04-15 11:03:08.395 2194-2213/? W/WindowManager: Force clearing freeze: AppWindowToken{6cdd2bf token=Token{a2820de ActivityRecord{8e66819 u0 com.mycompany.myproduct/com.unity3d.player.UnityPlayerActivity t52016}}}

    04-15 11:05:06.288 2194-4094/? W/WindowManager: Force-removing child win Window{e112230 u0 SurfaceView} from container Window{573d67f u0 com.mycompany.myproduct/com.unity3d.player.UnityPlayerActivity}

    04-15 11:05:16.806 2194-2213/? W/WindowManager: Force clearing orientation change: Window{6129a1c u0 Starting com.mycompany.myproduct}

    04-15 11:05:16.806 2194-2213/? W/WindowManager: Force clearing orientation change: Window{abec24c u0 com.mycompany.myproduct/com.unity3d.player.UnityPlayerActivity}

    04-15 11:05:16.838 2194-2213/? W/WindowManager: Force clearing freeze: AppWindowToken{e2ae2a2 token=Token{cfa3c97 ActivityRecord{bef2b16 u0 com.mycompany.myproduct/com.unity3d.player.UnityPlayerActivity t52017}}}

    04-15 11:11:42.710 2194-2219/? W/PackageManager: Code path for com.mycompany.myproduct changing from /data/app/com.mycompany.myproduct-1 to /data/app/com.mycompany.myproduct-2

    04-15 11:11:42.711 2194-2219/? W/PackageManager: Resource path for com.mycompany.myproduct changing from /data/app/com.mycompany.myproduct-1 to /data/app/com.mycompany.myproduct-2

    04-15 11:11:42.719 2194-2208/? W/ActivityManager: Duplicate finish request for ActivityRecord{bef2b16 u0 com.mycompany.myproduct/com.unity3d.player.UnityPlayerActivity t52017 f}

    04-15 11:11:43.376 2194-2219/? W/PackageManager: Couldn't remove dex file for package: at location /data/app/com.mycompany.myproduct-1/base.apk, retcode=-1

    04-15 11:13:39.471 30164-30183/? E/linker: warning: unable to get realpath for the library "/data/app/com.mycompany.myproduct-2/lib/arm/libBlueDoveMediaRender.so". Will use given name.

    04-15 11:14:22.242 2194-22727/? W/WindowManager: Force-removing child win Window{97ac0ca u0 SurfaceView} from container Window{c56dfee u0 com.mycompany.myproduct/com.unity3d.player.UnityPlayerActivity}

    04-15 11:14:30.713 2194-2213/? W/WindowManager: Force clearing orientation change: Window{a6a190e u0 Starting com.mycompany.myproduct}

    04-15 11:14:30.744 2194-2213/? W/WindowManager: Force clearing freeze: AppWindowToken{c8865f8 token=Token{41a895b ActivityRecord{3c9606a u0 com.mycompany.myproduct/com.unity3d.player.UnityPlayerActivity t52019}}}

    04-15 11:14:37.829 30814-30860/? E/linker: warning: unable to get realpath for the library "/data/app/com.mycompany.myproduct-2/lib/arm/libBlueDoveMediaRender.so". Will use given name.
    Thanks a lot for your time
     
  9. MrEsquire

    MrEsquire

    Joined:
    Nov 5, 2013
    Posts:
    2,712
    BTW forgot to ask you, may not be connected but are you using any plugins within your project?
    If I was you I make sure check the plugin developers page if there mention of 5.4 support etc?
     
  10. InsaneGoblin

    InsaneGoblin

    Joined:
    Jun 2, 2013
    Posts:
    239
    Everything is in-house, except the "Unity Services" addon and a texture video player asset, which has no issues working.

    Considering it fails at startup, I need to think it's either the IAP manager or the AssetBundle loader. If both are disabled, the app loads. If one or both are on, the app crashes. Possible memory leak?