[LayaAir2]Spine动画无法正常加载显示
使用的Laya版本:2.13.1
使用的Spine版本:3.7.89
动画无法正常加载显示,报错如下。动画源文件以及导出文件已上传。
laya.ani.js:2053 Uncaught TypeError: Cannot read properties of null (reading 'bones')
at PathConstraint.computeWorldPositions (laya.ani.js:2053:51)
at PathConstraint.apply (laya.ani.js:1905:34)
at Skeleton._createGraphics (laya.ani.js:2723:37)
at Skeleton._update (laya.ani.js:2588:104)
at TimerHandler.run (laya.core.js:22323:56)
at Timer._update (laya.core.js:22165:41)
at Stage._updateTimers (laya.core.js:17751:25)
at Stage.render (laya.core.js:17713:18)
at Stage._loop (laya.core.js:17642:18)
at loop (laya.core.js:11413:29)
使用的Spine版本:3.7.89
动画无法正常加载显示,报错如下。动画源文件以及导出文件已上传。
laya.ani.js:2053 Uncaught TypeError: Cannot read properties of null (reading 'bones')
at PathConstraint.computeWorldPositions (laya.ani.js:2053:51)
at PathConstraint.apply (laya.ani.js:1905:34)
at Skeleton._createGraphics (laya.ani.js:2723:37)
at Skeleton._update (laya.ani.js:2588:104)
at TimerHandler.run (laya.core.js:22323:56)
at Timer._update (laya.core.js:22165:41)
at Stage._updateTimers (laya.core.js:17751:25)
at Stage.render (laya.core.js:17713:18)
at Stage._loop (laya.core.js:17642:18)
at loop (laya.core.js:11413:29)
没有找到相关结果
已邀请:
1 个回复
Laya_Fred
赞同来自:
在laya.ani.js内的Skeleton类的_createGraphics方法对this._pathDic=null;处理下,如下图: