Search Unity

  1. All Pro and Enterprise subscribers: find helpful & inspiring creative, tech, and business know-how in the new Unity Success Hub. Sign in to stay up to date.
    Dismiss Notice
  2. Dismiss Notice

2021.1.6 Android start up crash on blank project

Discussion in 'Android' started by stevenatunity, May 12, 2021.

  1. stevenatunity

    stevenatunity

    Joined:
    Apr 17, 2015
    Posts:
    109
    Hi,

    While there was no issue with 2021.1.4, a blank project created with 2021.1.6 will immediately crash on launch on my Asus K011 tablet.

    Anybody notice anything similar?

    Here's the logcat output


    05/12 14:09:41.778 11199 11199 Error dalvikvm Could not find class 'com.unity3d.player.f$a', referenced from method com.unity3d.player.f.a



    05/12 14:09:41.778 11199 11199 Error AndroidRuntime FATAL EXCEPTION: main
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime Process: com.DefaultCompany.com.unity.template.mobile2D, PID: 11199
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime java.lang.Error: FATAL EXCEPTION [main]
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime Unity version : 2021.1.6f1
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime Device model : asus K011
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime Device fingerprint: asus/WW_K011/K011:4.4.2/KOT49H/WW_user_3.1.23.191_20160107:user/release-keys
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime Build Type : Release
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime Scripting Backend : Mono
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime ABI : armeabi-v7a
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime Strip Engine Code : false
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime Caused by: java.lang.VerifyError: com/unity3d/player/f
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime at com.unity3d.player.UnityPlayer.<init>(Unknown Source)
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime at com.unity3d.player.UnityPlayerActivity.onCreate(UnityPlayerActivity.java:41)
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime at android.app.Activity.performCreate(Activity.java:5411)
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2270)
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2396)
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime at android.app.ActivityThread.access$800(ActivityThread.java:139)
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1293)
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime at android.os.Handler.dispatchMessage(Handler.java:102)
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime at android.os.Looper.loop(Looper.java:149)
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime at android.app.ActivityThread.main(ActivityThread.java:5257)
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime at java.lang.reflect.Method.invokeNative(Native Method)
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime at java.lang.reflect.Method.invoke(Method.java:515)
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:788)
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:604)
    05/12 14:09:41.778 11199 11199 Error AndroidRuntime at dalvik.system.NativeStart.main(Native Method)
    05/12 14:09:41.788 174 174 Warn ufoGralloc registerBuffer() handle 0xb8df2fc0/10 didn't require registration

     
  2. florianpenzkofer

    florianpenzkofer

    Unity Technologies

    Joined:
    Sep 2, 2014
    Posts:
    352
  3. stevenatunity

    stevenatunity

    Joined:
    Apr 17, 2015
    Posts:
    109
  4. zezba9000

    zezba9000

    Joined:
    Sep 28, 2010
    Posts:
    821
    I'm having the same Issue on a "Samsung Gallaxy Tab 4" Android 4.4.2 GLES2 tablet. (instant crash)
    This is still a bug.

    Unity LTS 2020.3.10

    Code (CSharp):
    1. I/dalvikvm(11939): Failed resolving Lcom/unity3d/player/f$a; interface 119 'Landroid/view/PixelCopy$OnPixelCopyFinishedListener;'
    2. W/dalvikvm(11939): Link of class 'Lcom/unity3d/player/f$a;' failed
    3. I/dalvikvm(11939): Failed resolving Lcom/unity3d/player/f$a; interface 119 'Landroid/view/PixelCopy$OnPixelCopyFinishedListener;'
    4. W/dalvikvm(11939): Link of class 'Lcom/unity3d/player/f$a;' failed
    5. I/dalvikvm(11939): Failed resolving Lcom/unity3d/player/f$a; interface 119 'Landroid/view/PixelCopy$OnPixelCopyFinishedListener;'
    6. W/dalvikvm(11939): Link of class 'Lcom/unity3d/player/f$a;' failed
    7. E/dalvikvm(11939): Could not find class 'com.unity3d.player.f$a', referenced from method com.unity3d.player.f.a
    8. W/dalvikvm(11939): VFY: unable to resolve new-instance 231 (Lcom/unity3d/player/f$a;) in Lcom/unity3d/player/f;
    9. D/dalvikvm(11939): VFY: replacing opcode 0x22 at 0x0012
    10. I/dalvikvm(11939): Failed resolving Lcom/unity3d/player/f$a; interface 119 'Landroid/view/PixelCopy$OnPixelCopyFinishedListener;'
    11. W/dalvikvm(11939): Link of class 'Lcom/unity3d/player/f$a;' failed
    12. W/dalvikvm(11939): VFY: Ljava/lang/Object; is not instance of Landroid/view/View;
    13. W/dalvikvm(11939): VFY: bad arg 1 (into Landroid/view/View;)
    14. W/dalvikvm(11939): VFY:  rejecting call to Landroid/view/ViewGroup;.addView (Landroid/view/View;)V
    15. W/dalvikvm(11939): VFY:  rejecting opcode 0x6e at 0x0004
    16. W/dalvikvm(11939): VFY:  rejected Lcom/unity3d/player/f;.a (Landroid/view/ViewGroup;)V
    17. W/dalvikvm(11939): Verifier rejected class Lcom/unity3d/player/f;
    18. D/AndroidRuntime(11939): Shutting down VM
    19. W/dalvikvm(11939): threadid=1: thread exiting with uncaught exception (group=0x41750c08)
    20. E/AndroidRuntime(11939): FATAL EXCEPTION: main
    21. E/AndroidRuntime(11939): Process: com.ReignStudios.SRP, PID: 11939
    22. E/AndroidRuntime(11939): java.lang.Error: FATAL EXCEPTION [main]
    23. E/AndroidRuntime(11939): Unity version     : 2020.3.10f1
    24. E/AndroidRuntime(11939): Device model      : samsung SM-T230NU
    25. E/AndroidRuntime(11939): Device fingerprint: samsung/degaswifiue/degaswifiue:4.4.2/KOT49H/T230NUUEU0APA1:user/release-keys
    26. E/AndroidRuntime(11939): Build Type        : Release
    27. E/AndroidRuntime(11939): Scripting Backend : IL2CPP
    28. E/AndroidRuntime(11939): ABI               : armeabi-v7a
    29. E/AndroidRuntime(11939): Strip Engine Code : true
    30. E/AndroidRuntime(11939):
    31. E/AndroidRuntime(11939): Caused by: java.lang.VerifyError: com/unity3d/player/f
    32. E/AndroidRuntime(11939):        at com.unity3d.player.UnityPlayer.<init>(Unknown Source)
    33. E/AndroidRuntime(11939):        at com.unity3d.player.UnityPlayerActivity.onCreate(UnityPlayerActivity.java:41)
    34. E/AndroidRuntime(11939):        at android.app.Activity.performCreate(Activity.java:5451)
    35. E/AndroidRuntime(11939):        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
    36. E/AndroidRuntime(11939):        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2377)
    37. E/AndroidRuntime(11939):        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2471)
    38. E/AndroidRuntime(11939):        at android.app.ActivityThread.access$900(ActivityThread.java:175)
    39. E/AndroidRuntime(11939):        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
    40. E/AndroidRuntime(11939):        at android.os.Handler.dispatchMessage(Handler.java:102)
    41. E/AndroidRuntime(11939):        at android.os.Looper.loop(Looper.java:146)
    42. E/AndroidRuntime(11939):        at android.app.ActivityThread.main(ActivityThread.java:5602)
    43. E/AndroidRuntime(11939):        at java.lang.reflect.Method.invokeNative(Native Method)
    44. E/AndroidRuntime(11939):        at java.lang.reflect.Method.invoke(Method.java:515)
    45. E/AndroidRuntime(11939):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
    46. E/AndroidRuntime(11939):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
    47. E/AndroidRuntime(11939):        at dalvik.system.NativeStart.main(Native Method)
     
    Last edited: Jun 1, 2021
  5. stevenatunity

    stevenatunity

    Joined:
    Apr 17, 2015
    Posts:
    109
  6. zezba9000

    zezba9000

    Joined:
    Sep 28, 2010
    Posts:
    821
    Last edited: Jun 1, 2021
    stevenatunity likes this.
  7. zezba9000

    zezba9000

    Joined:
    Sep 28, 2010
    Posts:
    821
    Cool well 2020.3.11 works
     
    stevenatunity likes this.
unityunity