我用的3.6.1版本,spine骨骼动画出错。出现动画毛边,动画缓存模式不能改。

我用2.4版本就一切正常,但是用3.6.1版本,我的所有spine骨骼动画都会出现大量毛边,如图:
微信图片_20221030203959

动画缓存模式不能改,只能用REALTIME,如图:
微信图片_20221030204125

用另外两个模式运行时会报错:
[Preview]Cannot set property ‘5’ of undefinederrorInfo.stack ? ‘/n TypeError: Cannot set property ‘5’ of undefined at cacheTraverse (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:185133:31)
at updateComponentRenderData (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:184588:7)
at Object.updateRenderData (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:185304:13)
at Skeleton.updateRenderer (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:68398:29)
at UIRendererManager.updateAllDirtyRenderers (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:68115:31)
at Director.tick (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:5811:31)
at Game._updateCallback (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:6593:22)
at updateCallback (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:58174:23)’ : ‘’

顶一下,这个问题有解决方案吗?

可以变相解决,在spine软件导出合图时有一次Premultiplied Alpha选项,把生成的三个文件放进cocos里,图片会有一个Premultiplied Alpha选项,把动画文件拖进场景还有一个Premultiplied Alpha选项,如图。微信图片_20221030204125
这三个Premultiplied Alpha不要同时打钩,多试几次排列可以消除毛边。 并且在web模式和模拟器模式运行时,如果报错就修改上图中的Premultiplied Alpha,就不报错了。

感谢,已解决

我也遇到了。 虽然这个可以解决 不知道原因 难受

1672372609046
关掉这个玩意儿!!!

关掉这个