• Runtimes
  • Spine Flutter 4.2 runtime 骨骼节点较多时发生崩溃

环境如下
Flutter version :3.7.12
Spiner Runtime Version:4.2.36
当骨骼节点超过一定数量,如 800 个以上时,某些设备发生崩溃

#00 pc 000000000004ee00 /apex/com.android.runtime/lib64/bionic/libc.so (__memcpy+336) [arm64-v8a::b88c9224e813f06643d968bdc3c067f8]
4
#04 pc 00000000006f27b0 /vendor/lib64/egl/mt6893/libGLES_mali.so [arm64-v8a::4b3ca12bdae8e1550000000000000000]
5
#05 pc 0000000000516074 /data/app/~~llyHV--sv4WIRiU5wD0U9Q==/xxx.xxxx.xxxxxx-gR5NbebdcR8iryn-whf73A==/lib/arm64/libflutter.so [arm64-v8a::08eb06fb5b2583dee4f7ebc789c88cd1]
6
#06 pc 00000000004ed0bc /data/app/~~llyHV--sv4WIRiU5wD0U9Q==/xxx.xxxx.xxxxxx-gR5NbebdcR8iryn-whf73A==/lib/arm64/libflutter.so [arm64-v8a::08eb06fb5b2583dee4f7ebc789c88cd1]
7
#07 pc 00000000004a1e28 /data/app/~~llyHV--sv4WIRiU5wD0U9Q==/xxx.xxxx.xxxxxx-gR5NbebdcR8iryn-whf73A==/lib/arm64/libflutter.so [arm64-v8a::08eb06fb5b2583dee4f7ebc789c88cd1]
8
#08 pc 00000000004a28c4 /data/app/~~llyHV--sv4WIRiU5wD0U9Q==/xxx.xxxx.xxxxxx-gR5NbebdcR8iryn-whf73A==/lib/arm64/libflutter.so [arm64-v8a::08eb06fb5b2583dee4f7ebc789c88cd1]
9
#09 pc 00000000003b67b0 /data/app/~~llyHV--sv4WIRiU5wD0U9Q==/xxx.xxxx.xxxxxx-gR5NbebdcR8iryn-whf73A==/lib/arm64/libflutter.so [arm64-v8a::08eb06fb5b2583dee4f7ebc789c88cd1]
10
#10 pc 00000000006b2c60 /data/app/~~llyHV--sv4WIRiU5wD0U9Q==/xxx.xxxx.xxxxxx-gR5NbebdcR8iryn-whf73A==/lib/arm64/libflutter.so [arm64-v8a::08eb06fb5b2583dee4f7ebc789c88cd1]
11
#11 pc 00000000005a55fc /data/app/~~llyHV--sv4WIRiU5wD0U9Q==/xxx.xxxx.xxxxxx-gR5NbebdcR8iryn-whf73A==/lib/arm64/libflutter.so [arm64-v8a::08eb06fb5b2583dee4f7ebc789c88cd1]
12
#12 pc 00000000005aa3a8 /data/app/~~llyHV--sv4WIRiU5wD0U9Q==/xxx.xxxx.xxxxxx-gR5NbebdcR8iryn-whf73A==/lib/arm64/libflutter.so [arm64-v8a::08eb06fb5b2583dee4f7ebc789c88cd1]
13
#13 pc 00000000005a9ec8 /data/app/~~llyHV--sv4WIRiU5wD0U9Q==/xxx.xxxx.xxxxxx-gR5NbebdcR8iryn-whf73A==/lib/arm64/libflutter.so [arm64-v8a::08eb06fb5b2583dee4f7ebc789c88cd1]
14
#14 pc 00000000005aace4 /data/app/~~llyHV--sv4WIRiU5wD0U9Q==/xxx.xxxx.xxxxxx-gR5NbebdcR8iryn-whf73A==/lib/arm64/libflutter.so [arm64-v8a::08eb06fb5b2583dee4f7ebc789c88cd1]
15
#15 pc 00000000005aa72c /data/app/~~llyHV--sv4WIRiU5wD0U9Q==/xxx.xxxx.xxxxxx-gR5NbebdcR8iryn-whf73A==/lib/arm64/libflutter.so [arm64-v8a::08eb06fb5b2583dee4f7ebc789c88cd1]
16
#16 pc 00000000005b76b8 /data/app/~~llyHV--sv4WIRiU5wD0U9Q==/xxx.xxxx.xxxxxx-gR5NbebdcR8iryn-whf73A==/lib/arm64/libflutter.so [arm64-v8a::08eb06fb5b2583dee4f7ebc789c88cd1]
17
#17 pc 000000000034bb30 /data/app/~~llyHV--sv4WIRiU5wD0U9Q==/xxx.xxxx.xxxxxx-gR5NbebdcR8iryn-whf73A==/lib/arm64/libflutter.so [arm64-v8a::08eb06fb5b2583dee4f7ebc789c88cd1]
18
#18 pc 000000000034ef44 /data/app/~~llyHV--sv4WIRiU5wD0U9Q==/xxx.xxxx.xxxxxx-gR5NbebdcR8iryn-whf73A==/lib/arm64/libflutter.so [arm64-v8a::08eb06fb5b2583dee4f7ebc789c88cd1]
19
#19 pc 0000000000018224 /system/lib64/libutils.so (android::Looper::pollInner(int)+1060) [arm64-v8a::10aac5d4a671e4110bc00c9b69d83d8a]
21
#21 pc 00000000000185e4 /system/lib64/libandroid.so (ALooper_pollOnce+100) [arm64-v8a::8445cb4db27a89951cd0b298a6e43efe]
22
#22 pc 000000000034f050 /data/app/~~llyHV--sv4WIRiU5wD0U9Q==/xxx.xxxx.xxxxxx-gR5NbebdcR8iryn-whf73A==/lib/arm64/libflutter.so [arm64-v8a::08eb06fb5b2583dee4f7ebc789c88cd1]
23
#23 pc 000000000034d6b4 /data/app/~~llyHV--sv4WIRiU5wD0U9Q==/xxx.xxxx.xxxxxx-gR5NbebdcR8iryn-whf73A==/lib/arm64/libflutter.so [arm64-v8a::08eb06fb5b2583dee4f7ebc789c88cd1]
24
#24 pc 00000000000c14dc /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) [arm64-v8a::b88c9224e813f06643d968bdc3c067f8]
25
#25 pc 0000000000054930 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) [arm64-v8a::b88c9224e813f06643d968bdc3c067f8]
26
java:
27
(no managed stack frames)

现在看起来,OPPO 及VIVO 的设备极易出现该问题

Related Discussions
...

在使用 Spine Flutter 4.2 运行时,当骨骼节点数量超过 800 时,某些设备(如 OPPO 和 VIVO)可能会发生崩溃。这种崩溃可能与设备的内存管理或图形驱动程序有关。建议尝试以下解决方案:减少骨骼节点的数量以查看是否能避免崩溃,或者检查设备的内存使用情况和图形驱动程序是否有更新。此外,确保使用最新版本的 Spine 和相关的 Flutter 运行时,以获得最新的修复和优化。

    Spinebot 之前也有其他的人遇到过类似的问题吗?堆栈也一样吗?

    Without the asset that crahes we can't help. You can post them here, or send them via email to contact@esotericsoftware.com

      Mario
      请问需要的是 spine 原始项目还是导出的资源呢?

      Ideally both, but exports only will be likely fine too.

        Mario 我已经通过邮箱回复了资源文件,邮箱地址为 <removed>

        Mario 请问有排查出什么问题吗?