[LayaAir 2.0]LayaAir2.0载入从Unity导出的场景报错
载入Unity导出的场景后报错。场景在附件,进去后需要转动camera,让某个带动画的模型出现就会报错了
TypeError: Cannot read property 'transform' of undefined
laya.d3.js:39072
at SkinnedMeshRenderer.__proto._computeSubSkinnedData (/Users/wuhao/dev2019/moba/moba/bin/libs/laya.d3.js:39072:62)
at SkinnedMeshRenderer.__proto._computeSkinnedData (/Users/wuhao/dev2019/moba/moba/bin/libs/laya.d3.js:39052:12)
at SkinnedMeshRenderer.__proto._renderUpdate (/Users/wuhao/dev2019/moba/moba/bin/libs/laya.d3.js:39180:10)
at RenderElement.__proto._render (/Users/wuhao/dev2019/moba/moba/bin/libs/laya.d3.js:1702:17)
at RenderQueue.__proto._render (/Users/wuhao/dev2019/moba/moba/bin/libs/laya.d3.js:1549:21)
at Scene3D.__proto._renderScene (/Users/wuhao/dev2019/moba/moba/bin/libs/laya.d3.js:33024:110)
at Camera.__proto.render (/Users/wuhao/dev2019/moba/moba/bin/libs/laya.d3.js:41870:10)
at Scene3D.__proto.renderSubmit (/Users/wuhao/dev2019/moba/moba/bin/libs/laya.d3.js:33250:35)
at WebGLContext2D.__proto.submitElement (/Users/wuhao/dev2019/moba/moba/bin/libs/laya.webgl.js:6623:19)
at WebGLContext2D.__proto.flush (/Users/wuhao/dev2019/moba/moba/bin/libs/laya.webgl.js:6629:17)
TypeError: Cannot read property 'transform' of undefined
laya.d3.js:39072
at SkinnedMeshRenderer.__proto._computeSubSkinnedData (/Users/wuhao/dev2019/moba/moba/bin/libs/laya.d3.js:39072:62)
at SkinnedMeshRenderer.__proto._computeSkinnedData (/Users/wuhao/dev2019/moba/moba/bin/libs/laya.d3.js:39052:12)
at SkinnedMeshRenderer.__proto._renderUpdate (/Users/wuhao/dev2019/moba/moba/bin/libs/laya.d3.js:39180:10)
at RenderElement.__proto._render (/Users/wuhao/dev2019/moba/moba/bin/libs/laya.d3.js:1702:17)
at RenderQueue.__proto._render (/Users/wuhao/dev2019/moba/moba/bin/libs/laya.d3.js:1549:21)
at Scene3D.__proto._renderScene (/Users/wuhao/dev2019/moba/moba/bin/libs/laya.d3.js:33024:110)
at Camera.__proto.render (/Users/wuhao/dev2019/moba/moba/bin/libs/laya.d3.js:41870:10)
at Scene3D.__proto.renderSubmit (/Users/wuhao/dev2019/moba/moba/bin/libs/laya.d3.js:33250:35)
at WebGLContext2D.__proto.submitElement (/Users/wuhao/dev2019/moba/moba/bin/libs/laya.webgl.js:6623:19)
at WebGLContext2D.__proto.flush (/Users/wuhao/dev2019/moba/moba/bin/libs/laya.webgl.js:6629:17)
没有找到相关结果
已邀请:
要回复问题请先登录
1 个回复
Aar0n
赞同来自: