Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Android app crashing on Android 10 working fine with other versions.

Discussion in 'Android' started by Chhel, Aug 25, 2020.

  1. Chhel

    Chhel

    Joined:
    May 21, 2019
    Posts:
    4
    Hello Geeks,

    I have a weird issue, my app keeps on crashing on startup ( after the splash screen) on Android 10 only working fine with other versions though. I have made builds using API lvl 29 and 30 but facing the same issue with both builds.

    Anyone have any idea why is this happening?

    I tried cleaning up the cache memory and restarting the device but not helpful.
     
  2. florianpenzkofer

    florianpenzkofer

    Unity Technologies

    Joined:
    Sep 2, 2014
    Posts:
    479
    Do you have a callstack of the crash? What's the device?
     
  3. Chhel

    Chhel

    Joined:
    May 21, 2019
    Posts:
    4
    Device is OnePlus 5T and here is the log file.
     

    Attached Files:

    • log.txt
      File size:
      14.1 KB
      Views:
      256
    Last edited: Aug 27, 2020
  4. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,663
    You pasted a log filtered by Unity, I doesn't contain crash info. You need to paste a log filtered by your process id, that way it will contain log from all tags of a specific process
     
    Last edited: Aug 31, 2020
  5. Chhel

    Chhel

    Joined:
    May 21, 2019
    Posts:
    4
    Testing on AWS Device Farm , Device - Google Pixel 3
     

    Attached Files:

  6. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,663
    Doesn't look like a logcat, for me it displays one long line
     
  7. Chhel

    Chhel

    Joined:
    May 21, 2019
    Posts:
    4
    Here is the Updated log file , have a look.
     

    Attached Files:

  8. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,663
    It's crashing in libvlcjni library, which is an external library. I assume it comes from VLC SDK? Please try asking in place where you got this library.
     
  9. DarkCooker

    DarkCooker

    Joined:
    Jan 7, 2015
    Posts:
    119
    Not sure if this issue is fixed
    All ANR comes from Android 10.

    This is built by Unity 2018.4.25

    Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago. Wait queue length: 44. Wait queue head age: 93495.9ms.)
    at com.unity3d.player.ReflectionHelper.nativeProxyLogJNIInvokeException (Native method)
    at com.unity3d.player.ReflectionHelper.b (unavailable)
    at com.unity3d.player.ReflectionHelper$1.invoke (unavailable)
    at java.lang.reflect.Proxy.invoke (Proxy.java:1006)
    at java.lang.Runnable.run (Runnable.java)
    at android.os.Handler.handleCallback (Handler.java:883)
    at android.os.Handler.dispatchMessage (Handler.java:100)
    at android.os.Looper.loop (Looper.java:237)
    at android.app.ActivityThread.main (ActivityThread.java:7860)
    at java.lang.reflect.Method.invoke (Native method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
    at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1068)

    ANR_Android10.png