Search Unity

Bug Logcat 1.2.1 with Android 10 Sony Xperia does not work (1.2.0 does)

Discussion in 'Android' started by ROBYER1, Mar 23, 2021.

  1. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,454
    In Unity 2020.3.0f1 using Android Logcat 1.2.1 "Verified" package, I get no logcat logs when running logcat (with no filter of course). I am using a Sony Xperia XZ3 with Android 10

    If I roll back to 1.2.0 version, logcat works fine again

    With 1.2.1 package, the log output is this then nothing else after:

    Code (CSharp):
    1. 0001/01/01 00:00:00.000 -1 -1 Info  --------- beginning of system
    2. 0001/01/01 00:00:00.000 -1 -1 Info  --------- beginning of crash
    3. 2021/03/23 21:00:00.054 1754 1812 Warn Looper Slow delivery took 221ms android.fg h=com.android.server.adb.AdbDebuggingManager$AdbDebuggingHandler c=null m=2
    4. 2021/03/23 21:00:00.054 1754 1812 Warn Looper Slow dispatch took 925ms android.fg h=com.android.server.adb.AdbDebuggingManager$AdbDebuggingHandler c=null m=2
    5. 2021/03/23 21:01:24.077 1754 1812 Warn Looper Slow delivery took 242ms android.fg h=com.android.server.adb.AdbDebuggingManager$AdbDebuggingHandler c=null m=2
    6. 2021/03/23 21:01:24.078 1754 1812 Warn Looper Slow dispatch took 908ms android.fg h=com.android.server.adb.AdbDebuggingManager$AdbDebuggingHandler c=null m=2
    7. 2021/03/23 21:01:27.046 1754 1812 Warn Looper Slow delivery took 217ms android.fg h=com.android.server.adb.AdbDebuggingManager$AdbDebuggingHandler c=null m=1
    8. 2021/03/23 21:01:27.585 1754 1812 Info ActivityTaskManager START u0 {flg=0x10000000 cmp=com.android.systemui/.usb.UsbDebuggingActivity (has extras)} from uid 1000
    9. 0001/01/01 00:00:00.000 -1 -1 Info  --------- beginning of main
    10. 2021/03/23 21:05:16.402 20108 20259 Info facebook.katan WaitForGcToComplete blocked ClassLinker on Debugger for 189.594ms
    11.  
     
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,900
    Can you click in top right corner of logcat window, there's a menu item "Internal Log", are there any errors there?
     
  3. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,454
    I will investigate this further as this happens in one project but not another, I think there is something else going on