Unity游戏在安卓11 手机上闪退问题记录

前言

本文内容较为简单,属于叙事类型,较为啰嗦。单纯记录工作中所遇到的问题,希望遇到相同或者类似的情况,能帮助到你解决工作的问题。

说正文

事情是这样的,9月7号晚上8点40点左右,我正在骑行,中途组长给我发语音大概的内容是,广州研发中心要提审谷歌现在遇到闪退问题(敲定时间无法更改,今晚一定要提审),希望我和赛哥协助解决,因为这个项目是自研自发的(广州分公司同事写游戏,我们接入SDK)部门主管领导 还有BOSS 也是很关注的。

意识到事情的严重性,赶紧换乘地铁,找到一个位置坐下来,在别人怪异的眼神下,拿出了我的笔记本来解决问题。

我描述一下问题:出问题的是一款U3D开发的竞技休闲类游戏,开发的版本是2019.4.9F1 ,开发环境MAC 。闪退的问题只存在安卓API30 也就是安卓11手机上崩溃,我用了测试机pix3 安卓11的谷歌手机,却没有复现这个问题。经过广州那面同事反馈,他们那边安卓11手机基本上都是闪退。没办法我只能要来了全量日志 。

下面是全量日志截取的核心闪退关键位置, signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7c37e2e860 这段日志分别代表了异常信号、类型、以及错误的堆栈地址。关键的还是看backtrace这一段 这是闪退的核心点,根据现有的日志可以分析出是/lib/arm64/libunity.so 是导致闪退的元凶。

因为是unity自身生成的so内核,这种类型的问题大概率是需要换unity版本的,我为验证这一想法,查找了unity国外的官方社区和 国外的技术博客,根据现有的日志都是推荐尝试升级一下unity版本。于是我跟广州的同事说明这种解决方式作为尝试。把Unity 19.4.9F1 版本更换为19.4.30版本, 问题暂时告一段落。

2021-09-07 19:11:42.627 22962-4432/? E/CRASH: Version '2019.4.9f1 (50fe8a171dd9)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
2021-09-07 19:11:42.627 22962-4432/? E/CRASH: Build fingerprint: 'OnePlus/OnePlus8T_CH/OnePlus8T:11/RP1A.201005.001/2108261338:user/release-keys'
2021-09-07 19:11:42.627 22962-4432/? E/CRASH: Revision: '0'
2021-09-07 19:11:42.627 22962-4432/? E/CRASH: ABI: 'arm64'
2021-09-07 19:11:42.627 22962-4432/? E/CRASH: Timestamp: 2021-09-07 19:11:42+0800
2021-09-07 19:11:42.627 22962-4432/? E/CRASH: pid: 22962, tid: 4432, name: UnityMain  >>> com.package.name <<<
2021-09-07 19:11:42.627 22962-4432/? E/CRASH: uid: 10432
2021-09-07 19:11:42.627 22962-4432/? E/CRASH: signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7c37e2e860
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:     x0  0000007c37c2e820  x1  b400007e30a883f0  x2  0000000000000006  x3  0000007c37884f81
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:     x4  000000000000028e  x5  b400007dc11dee30  x6  00000000ffffffff  x7  0000000000000000
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:     x8  0000007c37e2e820  x9  0000000000000018  x10 00000000ffffffff  x11 0000000000000000
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:     x12 00000000ffffffff  x13 0000000000000000  x14 0000000044440444  x15 0000000000004000
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:     x16 0000007c37bf9a78  x17 0000007fb40e7440  x18 00000000fffffff1  x19 0000007c37c3b080
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:     x20 b400007e30a883f0  x21 0000000000000006  x22 0000000000000006  x23 0000007c37c2bec6
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:     x24 0000000000000018  x25 0000000000003234  x26 0000000000003238  x27 ffffff6100000000
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:     x28 0000000000002a10  x29 0000007c486210e0
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:     sp  0000007c48620ab0  lr  0000007c36a111ec  pc  0000007c36a0b50c
2021-09-07 19:11:42.627 22962-4432/? E/CRASH: backtrace:
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:       #00 pc 000000000040950c  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:       #01 pc 000000000040f1e8  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:       #02 pc 000000000040ef44  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:       #03 pc 0000000000408b40  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:       #04 pc 0000000000555eec  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:       #05 pc 0000000000557174  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:       #06 pc 000000000054fec4  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:       #07 pc 0000000000523c2c  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:       #08 pc 0000000000523998  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:       #09 pc 000000000061c6f4  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:       #10 pc 000000000060ee88  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:       #11 pc 000000000050fddc  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:       #12 pc 0000000000511a1c  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:       #13 pc 0000000000512164  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:       #14 pc 00000000005043c8  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:       #15 pc 00000000005043fc  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:       #16 pc 0000000000504634  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:       #17 pc 000000000063f594  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:       #18 pc 00000000006531ac  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
2021-09-07 19:11:42.627 22962-4432/? E/CRASH:       #19 pc 000000000003aa1c  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/oat/arm64/base.odex
2021-09-07 19:11:42.698 652-652/? E/SELinux: avc:  denied  { find } for pid=5367 uid=10180 name=tethering scontext=u:r:vendor_systemhelper_app:s0:c512,c768 tcontext=u:object_r:tethering_service:s0 tclass=service_manager permissive=0
2021-09-07 19:11:42.779 2849-2849/? E/NavigationButtonUtils: res.getInteger(resId) = 2
2021-09-07 19:11:42.780 2849-2849/? E/NavigationButtonUtils: res.getInteger(resId) = 2
2021-09-07 19:11:42.899 652-652/? E/SELinux: avc:  denied  { find } for pid=5367 uid=10180 name=tethering scontext=u:r:vendor_systemhelper_app:s0:c512,c768 tcontext=u:object_r:tethering_service:s0 tclass=service_manager permissive=0
2021-09-07 19:11:42.944 22962-4432/? E/CRASH: Tombstone written to: /storage/emulated/0/Android/data/com.package.name/files/tombstone_01
2021-09-07 19:11:42.945 22962-4432/? E/AndroidRuntime: FATAL EXCEPTION: UnityMain
    Process: com.package.name, PID: 22962
    java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    Version '2019.4.9f1 (50fe8a171dd9)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
    Build fingerprint: 'OnePlus/OnePlus8T_CH/OnePlus8T:11/RP1A.201005.001/2108261338:user/release-keys'
    Revision: '0'
    ABI: 'arm64'
    Timestamp: 2021-09-07 19:11:42+0800
    pid: 22962, tid: 4432, name: UnityMain  >>> com.package.name <<<
    uid: 10432
    signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7c37e2e860
        x0  0000007c37c2e820  x1  b400007e30a883f0  x2  0000000000000006  x3  0000007c37884f81
        x4  000000000000028e  x5  b400007dc11dee30  x6  00000000ffffffff  x7  0000000000000000
        x8  0000007c37e2e820  x9  0000000000000018  x10 00000000ffffffff  x11 0000000000000000
        x12 00000000ffffffff  x13 0000000000000000  x14 0000000044440444  x15 0000000000004000
        x16 0000007c37bf9a78  x17 0000007fb40e7440  x18 00000000fffffff1  x19 0000007c37c3b080
        x20 b400007e30a883f0  x21 0000000000000006  x22 0000000000000006  x23 0000007c37c2bec6
        x24 0000000000000018  x25 0000000000003234  x26 0000000000003238  x27 ffffff6100000000
        x28 0000000000002a10  x29 0000007c486210e0
        sp  0000007c48620ab0  lr  0000007c36a111ec  pc  0000007c36a0b50c
    
    backtrace:
          #00 pc 000000000040950c  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
          #01 pc 000000000040f1e8  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
          #02 pc 000000000040ef44  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
          #03 pc 0000000000408b40  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
          #04 pc 0000000000555eec  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
          #05 pc 0000000000557174  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
          #06 pc 000000000054fec4  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
          #07 pc 0000000000523c2c  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
          #08 pc 0000000000523998  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
          #09 pc 000000000061c6f4  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
          #10 pc 000000000060ee88  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
          #11 pc 000000000050fddc  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
          #12 pc 0000000000511a1c  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
          #13 pc 0000000000512164  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
2021-09-07 19:11:42.945 22962-4432/? E/AndroidRuntime:       #14 pc 00000000005043c8  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
          #15 pc 00000000005043fc  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
          #16 pc 0000000000504634  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
          #17 pc 000000000063f594  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
          #18 pc 00000000006531ac  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/lib/arm64/libunity.so (BuildId: 4e6898afa9adbeb6b4286182513c7bffc409b5f5)
          #19 pc 000000000003aa1c  /data/app/~~5U4x_NxqXAffUlLOh9tdNA==/com.package.name-hanrhDqq2iugVfji3UBTKA==/oat/arm64/base.odex
    
        at libunity.0x40950c(Native Method)
        at libunity.0x40f1e8(Native Method)
        at libunity.0x40ef44(Native Method)
        at libunity.0x408b40(Native Method)
        at libunity.0x555eec(Native Method)
        at libunity.0x557174(Native Method)
        at libunity.0x54fec4(Native Method)
        at libunity.0x523c2c(Native Method)
        at libunity.0x523998(Native Method)
        at libunity.0x61c6f4(Native Method)
        at libunity.0x60ee88(Native Method)
        at libunity.0x50fddc(Native Method)
        at libunity.0x511a1c(Native Method)
        at libunity.0x512164(Native Method)
        at libunity.0x5043c8(Native Method)
        at libunity.0x5043fc(Native Method)
        at libunity.0x504634(Native Method)
        at libunity.0x63f594(Native Method)
        at libunity.0x6531ac(Native Method)
        at base.0x3aa1c(Native Method)com.package.name

经过一晚上的忙碌,9月8号上午广州的同事把unity升级到了19.4.30,又遇到了新问题,还是需要我这面配合查问题。身为安卓开发的我,也很为难鸭,要协助unity同学查C++问题。下面是新的闪退问题。

根据已有的日志,可以定位到com.unity3d.player.UnityCoreAssetPacksStatusCallbacks这个类找不到,于是乎我看了一下当前的unity-class.jar的确没有这个类。我想到了一种可能,Unity升级到19.4.30 但是对应这个版本的unity-class.jar可能没有更换,于是我要了一份19.4.30 unity这个版本对应的unity-class.jar进行验证 ,这个问题才得以解决。归根结底是因为版本对不上,找不到对应类才导致的异常闪退。

结果:unity19.4.9 升级到19.4.30 就可以解决安卓11手机崩溃问题

21/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at com.unity3d.player.NativeLoader.load(Native method)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at com.unity3d.player.UnityPlayer.loadNative(unavailable:-1)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at com.unity3d.player.UnityPlayer.(unavailable:-1)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at com.unity3d.player.UnityPlayerActivity.onCreate(UnityPlayerActivity.java:41)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at org.Engine.Util.AppActivity.onCreate(AppActivity.java:52)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at android.app.Activity.performCreate(Activity.java:8093)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at android.app.Activity.performCreate(Activity.java:8067)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3465)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3652)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2099)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at android.os.Handler.dispatchMessage(Handler.java:106)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at android.os.Looper.loop(Looper.java:233)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at android.app.ActivityThread.main(ActivityThread.java:7892)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at java.lang.reflect.Method.invoke(Native method)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:656)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:967)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655] Pending exception java.lang.ClassNotFoundException: com.unity3d.player.UnityCoreAssetPacksStatusCallbacks
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at boolean com.unity3d.player.NativeLoader.load(java.lang.String) ((null):-2)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at void com.unity3d.player.UnityPlayer.loadNative(android.content.pm.ApplicationInfo) ((null):-1)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at void com.unity3d.player.UnityPlayer.(android.content.Context, com.unity3d.player.IUnityPlayerLifecycleEvents) ((null):-1)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at void com.unity3d.player.UnityPlayerActivity.onCreate(android.os.Bundle) (UnityPlayerActivity.java:41)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at void org.Engine.Util.AppActivity.onCreate(android.os.Bundle) (AppActivity.java:52)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:8093)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:8067)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1309)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:3465)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at android.app.Activity android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.app.servertransaction.PendingTransactionActions, android.content.Intent) (ActivityThread.java:3652)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at void android.app.servertransaction.LaunchActivityItem.execute(android.app.ClientTransactionHandler, android.os.IBinder, android.app.servertransaction.PendingTransactionActions) (LaunchActivityItem.java:85)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at void android.app.servertransaction.TransactionExecutor.executeCallbacks(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:135)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at void android.app.servertransaction.TransactionExecutor.execute(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:95)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:2099)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at void android.os.Looper.loop() (Looper.java:233)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7892)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:656)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655]   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:967)
2021/09/09 11:47:34.858 11847 11847 Fatal lobal.puzzlesl runtime.cc:655] 
2021/09/09 11:47:34.948 1738 2473 Info MiuiNetworkPolicy bandwidth: 8 KB/s, Max bandwidth: 3796 KB/s
0001/01/01 00:00:00.000 -1 -1 Info  --------- beginning of crash
2021/09/09 11:47:34.966 11847 11847 Fatal libc Fatal signal 6 (SIGABRT), code 0 (SI_USER) in tid 11847 (lobal.puzzleslg), pid 11847 (lobal.puzzleslg)
2021/09/09 11:47:34.997 11945 11945 Info crash_dump64 obtaining output fd from tombstoned, type: kDebuggerdTombstone
2021/09/09 11:47:34.999 752 752 Info tombstoned received crash request for pid 11847
2021/09/09 11:47:34.999 11945 11945 Info crash_dump64 performing dump of process 11847 (target tid = 11847)
2021/09/09 11:47:35.003 11945 11945 Fatal DEBUG *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2021/09/09 11:47:35.003 11945 11945 Fatal DEBUG Build fingerprint: 'Xiaomi/venus/venus:11/RKQ1.200928.002/V12.5.5.0.RKBCNXM:user/release-keys'
2021/09/09 11:47:35.003 11945 11945 Fatal DEBUG Revision: '0'
2021/09/09 11:47:35.003 11945 11945 Fatal DEBUG ABI: 'arm64'
2021/09/09 11:47:35.003 11945 11945 Fatal DEBUG Timestamp: 2021-09-09 11:47:34+0800
2021/09/09 11:47:35.003 11945 11945 Fatal DEBUG pid: 11847, tid: 11847, name: lobal.puzzleslg  >>> com.package.name <<<
2021/09/09 11:47:35.003 11945 11945 Fatal DEBUG uid: 10314
2021/09/09 11:47:35.003 11945 11945 Fatal DEBUG signal 6 (SIGABRT), code 0 (SI_USER), fault addr --------
2021/09/09 11:47:35.003 11945 11945 Fatal DEBUG Abort message: 'JNI FatalError called: com/unity3d/player/UnityCoreAssetPacksStatusCallbacks'
2021/09/09 11:47:35.003 11945 11945 Fatal DEBUG     x0  0000000000000000  x1  0000000000002e47  x2  0000000000000006  x3  0000007fefd9d5b0
2021/09/09 11:47:35.003 11945 11945 Fatal DEBUG     x4  0000007fefd9d050  x5  0000007fefd9d050  x6  0000007fefd9d050  x7  0000000000000000
2021/09/09 11:47:35.003 11945 11945 Fatal DEBUG     x8  00000000000000f0  x9  2efe497abc168993  x10 0000000000000000  x11 ffffffc0fffffbdf
2021/09/09 11:47:35.003 11945 11945 Fatal DEBUG     x12 0000000000000001  x13 000000000001b000  x14 0000000000000003  x15 da7b5d6047e143b1
2021/09/09 11:47:35.003 11945 11945 Fatal DEBUG     x16 0000007dddb06948  x17 0000007dddae5350  x18 0000007cc97fc000  x19 0000000000002e47
2021/09/09 11:47:35.003 11945 11945 Fatal DEBUG     x20 0000000000002e47  x21 00000000ffffffff  x22 0000007d584bd328  x23 0000000000000000
2021/09/09 11:47:35.003 11945 11945 Fatal DEBUG     x24 0000007d5849d067  x25 0000000000000001  x26 0000007d584b40d5  x27 0000007d58aba000
2021/09/09 11:47:35.003 11945 11945 Fatal DEBUG     x28 b400007d590d1c00  x29 0000007fefd9d630
2021/09/09 11:47:35.003 11945 11945 Fatal DEBUG     lr  0000007ddda98a60  sp  0000007fefd9d590  pc  0000007ddda98a8c  pst 0000000000001000
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG backtrace:
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #00 pc 0000000000089a8c  /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: 5f57d25b37c043ed36c0e4147dcc8b3f)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #01 pc 000000000055dc40  /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+2308) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #02 pc 0000000000013978  /system/lib64/libbase.so (android::base::SetAborter(std::__1::function&&)::$_3::__invoke(char const*)+76) (BuildId: 7f81cc97d60164bfae3b52a2cd822f20)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #03 pc 0000000000012fa4  /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+320) (BuildId: 7f81cc97d60164bfae3b52a2cd822f20)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #04 pc 0000000000399100  /apex/com.android.art/lib64/libart.so (art::JNI::FatalError(_JNIEnv*, char const*)+196) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #05 pc 0000000000662f58  /data/app/~~fE_N3KCgPkdUGRknqAwR6A==/com.global.puzzleslg-da64Iytkp_ZYgVxZve3tcA==/lib/arm64/libunity.so (JNI_OnLoad+124) (BuildId: 1c1cb96e6b832a5ed1b93d501b2f7d754bcf45e9)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #06 pc 0000000000000acc  /data/app/~~fE_N3KCgPkdUGRknqAwR6A==/com.global.puzzleslg-da64Iytkp_ZYgVxZve3tcA==/lib/arm64/libmain.so (BuildId: d87c755be392b4336c07721cc135e739a408c70f)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #07 pc 000000000003984c  /data/app/~~fE_N3KCgPkdUGRknqAwR6A==/com.global.puzzleslg-da64Iytkp_ZYgVxZve3tcA==/oat/arm64/base.odex (art_jni_trampoline+172)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #08 pc 00000000001337e8  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #09 pc 00000000001a8a94  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+228) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #10 pc 0000000000318f34  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #11 pc 000000000030f260  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+996) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #12 pc 000000000068005c  /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+548) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #13 pc 000000000012d994  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #14 pc 000000000054a1f4  /data/app/~~fE_N3KCgPkdUGRknqAwR6A==/com.global.puzzleslg-da64Iytkp_ZYgVxZve3tcA==/oat/arm64/base.vdex (com.unity3d.player.UnityPlayer.loadNative+4)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #15 pc 0000000000680300  /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+1224) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #16 pc 000000000012d994  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #17 pc 0000000000549aa0  /data/app/~~fE_N3KCgPkdUGRknqAwR6A==/com.global.puzzleslg-da64Iytkp_ZYgVxZve3tcA==/oat/arm64/base.vdex (com.unity3d.player.UnityPlayer.+324)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #18 pc 000000000067fa20  /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+1248) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #19 pc 000000000012d914  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #20 pc 0000000000548bd8  /data/app/~~fE_N3KCgPkdUGRknqAwR6A==/com.global.puzzleslg-da64Iytkp_ZYgVxZve3tcA==/oat/arm64/base.vdex (com.unity3d.player.UnityPlayerActivity.onCreate+60)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #21 pc 000000000067e15c  /apex/com.android.art/lib64/libart.so (MterpInvokeSuper+2468) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #22 pc 000000000012d894  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_super+20) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #23 pc 00000000009a1740  /data/app/~~fE_N3KCgPkdUGRknqAwR6A==/com.global.puzzleslg-da64Iytkp_ZYgVxZve3tcA==/oat/arm64/base.vdex (org.Engine.Util.AppActivity.onCreate)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #24 pc 000000000030685c  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.11487796752256266877)+268) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #25 pc 000000000066be0c  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+780) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #26 pc 000000000013cff8  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #27 pc 00000000005cb3b4  /system/framework/arm64/boot-framework.oat (android.app.Activity.performCreate+644) (BuildId: 28b99c1333d441ec190d257b11d870079dbee39b)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #28 pc 000000000032ed60  /system/framework/arm64/boot-framework.oat (android.app.Instrumentation.callActivityOnCreate+80) (BuildId: 28b99c1333d441ec190d257b11d870079dbee39b)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #29 pc 00000000004092a4  /system/framework/arm64/boot-framework.oat (android.app.ActivityThread.performLaunchActivity+2356) (BuildId: 28b99c1333d441ec190d257b11d870079dbee39b)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #30 pc 000000000040fcd0  /system/framework/arm64/boot-framework.oat (android.app.ActivityThread.handleLaunchActivity+448) (BuildId: 28b99c1333d441ec190d257b11d870079dbee39b)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #31 pc 00000000005d7ee4  /system/framework/arm64/boot-framework.oat (android.app.servertransaction.LaunchActivityItem.execute+404) (BuildId: 28b99c1333d441ec190d257b11d870079dbee39b)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #32 pc 000000000035bdd0  /system/framework/arm64/boot-framework.oat (android.app.servertransaction.TransactionExecutor.executeCallbacks+560) (BuildId: 28b99c1333d441ec190d257b11d870079dbee39b)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #33 pc 000000000035bb20  /system/framework/arm64/boot-framework.oat (android.app.servertransaction.TransactionExecutor.execute+752) (BuildId: 28b99c1333d441ec190d257b11d870079dbee39b)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #34 pc 00000000003f4eec  /system/framework/arm64/boot-framework.oat (android.app.ActivityThread$H.handleMessage+540) (BuildId: 28b99c1333d441ec190d257b11d870079dbee39b)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #35 pc 000000000064a644  /system/framework/arm64/boot-framework.oat (android.os.Handler.dispatchMessage+180) (BuildId: 28b99c1333d441ec190d257b11d870079dbee39b)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #36 pc 000000000064dc30  /system/framework/arm64/boot-framework.oat (android.os.Looper.loop+1600) (BuildId: 28b99c1333d441ec190d257b11d870079dbee39b)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #37 pc 0000000000408640  /system/framework/arm64/boot-framework.oat (android.app.ActivityThread.main+768) (BuildId: 28b99c1333d441ec190d257b11d870079dbee39b)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #38 pc 00000000001337e8  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #39 pc 00000000001a8a94  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+228) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #40 pc 0000000000556308  /apex/com.android.art/lib64/libart.so (art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1364) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #41 pc 00000000004d5b70  /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+52) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #42 pc 00000000000896f4  /apex/com.android.art/javalib/arm64/boot.oat (art_jni_trampoline+180) (BuildId: 96a2ad2581099975b8c7bb4ab40fb39a7086a166)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #43 pc 0000000000887c68  /system/framework/arm64/boot-framework.oat (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+136) (BuildId: 28b99c1333d441ec190d257b11d870079dbee39b)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #44 pc 00000000008903a8  /system/framework/arm64/boot-framework.oat (com.android.internal.os.ZygoteInit.main+2296) (BuildId: 28b99c1333d441ec190d257b11d870079dbee39b)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #45 pc 00000000001337e8  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #46 pc 00000000001a8a94  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+228) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #47 pc 0000000000554d44  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list)+448) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #48 pc 00000000005551f8  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+92) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #49 pc 0000000000439838  /apex/com.android.art/lib64/libart.so (art::JNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+656) (BuildId: 9ec86f3bd365bd713f51e1629fa80de6)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #50 pc 000000000009d424  /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+124) (BuildId: 76afb1f28e9c265d70bfd93c8b0b5fb4)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #51 pc 00000000000a5364  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector const&, bool)+916) (BuildId: 76afb1f28e9c265d70bfd93c8b0b5fb4)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #52 pc 0000000000003680  /system/bin/app_process64 (main+1592) (BuildId: 1ffa62ce1e071ff696118eca58ad6849)
2021/09/09 11:47:35.126 11945 11945 Fatal DEBUG       #53 pc 0000000000085054  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+108) (BuildId: 5f57d25b37c043ed36c0e4147dcc8b3f)
2021/09/09 11:47:35.162 994 1352 Debug ColorManager handleHistogramCmd: enter with displayId = 0, user = 4

总结

  1. 遇到unity.so内核导致的NDK异常,可以优先考虑升级unity版本,问题大概率能解决,有些异常和闪退是已知问题,可在官方、版本升级文档处查阅。还有一个小知识送给不懂unity小伙伴 ,unity版本不向下兼容,例如你用19版本开发你可以小版本升级,但是你升到20版本肯定是不行的,会出很多问题、包括对应的unity插件。成本很高,升级需谨慎

  2. 每个unity版本对应着一个unity-class.jar,别忘了导出安卓工程时候替换。

你可能感兴趣的:(Unity游戏在安卓11 手机上闪退问题记录)