2024-01-02 19:02:35.266 10275-10338 libc com.odyssey.superbetcash A C:/ProgramData/cocos/editors/Creator/2.4.11/resources/cocos2d-x/cocos/editor-support\spine/Vector.h:162: T &spine::Vector<char >::operator [T = char ]: assertion “inIndex < _size” failed
2024-01-02 19:02:35.624 10585-10585 DEBUG crash_dump64 A Abort message: 'C:/ProgramData/cocos/editors/Creator/2.4.11/resources/cocos2d-x/cocos/editor-support\spine/Vector.h:162: T &spine::Vector<char >::operator [T = char ]: assertion “inIndex < _size” failed’
2024-01-02 19:02:35.624 10585-10585 DEBUG crash_dump64 A #02 pc 0000000001160f64 /data/app/~~lWlQ3O77AaD4i7Et6yAElg==/com.odyssey.superbetcash-FeLDyNkgqQJUqr-O9HNnyA==/lib/arm64/libcocos2djs.so (spine::Vector<char>::operator[](unsigned long)+108) (BuildId: 49a9ec7b7a0798a14ff034e587bd9c578d459dd3)
2024-01-02 19:02:35.624 10585-10585 DEBUG crash_dump64 A #03 pc 000000000115de58 /data/app/~~lWlQ3O77AaD4i7Et6yAElg==/com.odyssey.superbetcash-FeLDyNkgqQJUqr-O9HNnyA==/lib/arm64/libcocos2djs.so (spine::SkeletonBinary::readStringRef(spine::SkeletonBinary::DataInput, spine::SkeletonData)+108) (BuildId: 49a9ec7b7a0798a14ff034e587bd9c578d459dd3)
2024-01-02 19:02:35.624 10585-10585 DEBUG crash_dump64 A #04 pc 00000000011612f0 /data/app/~~lWlQ3O77AaD4i7Et6yAElg==/com.odyssey.superbetcash-FeLDyNkgqQJUqr-O9HNnyA==/lib/arm64/libcocos2djs.so (spine::SkeletonBinary::readAttachment(spine::SkeletonBinary::DataInput, spine::Skin*, int, spine::String const&, spine::SkeletonData*, bool)+240) (BuildId: 49a9ec7b7a0798a14ff034e587bd9c578d459dd3)
2024-01-02 19:02:35.624 10585-10585 DEBUG crash_dump64 A #05 pc 000000000115e7f4 /data/app/~~lWlQ3O77AaD4i7Et6yAElg==/com.odyssey.superbetcash-FeLDyNkgqQJUqr-O9HNnyA==/lib/arm64/libcocos2djs.so (spine::SkeletonBinary::readSkin(spine::SkeletonBinary::DataInput*, bool, spine::SkeletonData*, bool)+1184) (BuildId: 49a9ec7b7a0798a14ff034e587bd9c578d459dd3)
2024-01-02 19:02:35.624 10585-10585 DEBUG crash_dump64 A #06 pc 000000000115cab0 /data/app/~~lWlQ3O77AaD4i7Et6yAElg==/com.odyssey.superbetcash-FeLDyNkgqQJUqr-O9HNnyA==/lib/arm64/libcocos2djs.so (spine::SkeletonBinary::readSkeletonData(unsigned char const*, int)+5044) (BuildId: 49a9ec7b7a0798a14ff034e587bd9c578d459dd3)
2024-01-02 19:02:35.624 10585-10585 DEBUG crash_dump64 A #08 pc 0000000001008cb4 /data/app/~~lWlQ3O77AaD4i7Et6yAElg==/com.odyssey.superbetcash-FeLDyNkgqQJUqr-O9HNnyA==/lib/arm64/libcocos2djs.so (js_register_spine_initSkeletonDataRegistry(v8::FunctionCallbackInfov8::Value const&)+392) (BuildId: 49a9ec7b7a0798a14ff034e587bd9c578d459dd3)
---------------------------- PROCESS ENDED (10275) for package com.odyssey.superbetcash ----------------------------
同样遇到了 请问有解决么
查到问题了,有两个:
1.SkeletonBinary.cpp中mesh = _attachmentLoader->newMeshAttachment这一行要对mesh做空指针判断保护
2.美术制作spine的时候,从其他工程拷贝过来的进行修改时,要把不用到的骨骼删干净,尤其是原工程的骨骼下带有网格的
3赞
Spine动画导出文件时开警告 把警告问题修复安卓端就没BUG了
后面是换掉库方法。这个是官方支持的问题。官方有这个问题的解决方案,可以去拿一下一个cpp替换就可以了。