[LayaAir 2.0]场景或者View中加入编辑好的2d粒子,加载场景或者view播放的时候会报错误

报错如下:
TypeError: Cannot read property 'sv' of null
preload.js:55
at Particle2D.__proto.customRender (file:///E:/%E4%B8%89%E6%B6%88/%E5%AE%A2%E6%88%B7%E7%AB%AF/ThreeDismiss2.0/bin/libs/laya.particle.js:1386:35)
at RenderSprite3D.__proto._custom (file:///E:/%E4%B8%89%E6%B6%88/%E5%AE%A2%E6%88%B7%E7%AB%AF/ThreeDismiss2.0/bin/libs/laya.core.js:8548:10)
at RenderSprite3D.RenderSprite._initRenderFun [as _fun] (file:///E:/%E4%B8%89%E6%B6%88/%E5%AE%A2%E6%88%B7%E7%AB%AF/ThreeDismiss2.0/bin/libs/laya.core.js:8755:5)
at Particle2D.__proto.render (file:///E:/%E4%B8%89%E6%B6%88/%E5%AE%A2%E6%88%B7%E7%AB%AF/ThreeDismiss2.0/bin/libs/laya.core.js:18219:42)
at RenderSprite3D.__proto._children (file:///E:/%E4%B8%89%E6%B6%88/%E5%AE%A2%E6%88%B7%E7%AB%AF/ThreeDismiss2.0/bin/libs/laya.core.js:8658:39)
at Sprite.__proto.render (file:///E:/%E4%B8%89%E6%B6%88/%E5%AE%A2%E6%88%B7%E7%AB%AF/ThreeDismiss2.0/bin/libs/laya.core.js:18219:42)
at RenderSprite3D.__proto._children (file:///E:/%E4%B8%89%E6%B6%88/%E5%AE%A2%E6%88%B7%E7%AB%AF/ThreeDismiss2.0/bin/libs/laya.core.js:8658:39)
at BOOM5UI.__proto.render (file:///E:/%E4%B8%89%E6%B6%88/%E5%AE%A2%E6%88%B7%E7%AB%AF/ThreeDismiss2.0/bin/libs/laya.core.js:18219:42)
at RenderSprite3D.__proto._children (file:///E:/%E4%B8%89%E6%B6%88/%E5%AE%A2%E6%88%B7%E7%AB%AF/ThreeDismiss2.0/bin/libs/laya.core.js:8658:39)
at Map.__proto.render (file:///E:/%E4%B8%89%E6%B6%88/%E5%AE%A2%E6%88%B7%E7%AB%AF/ThreeDismiss2.0/bin/libs/laya.core.js:18219:42)
已邀请:

Aar0n

赞同来自:

Cannot read property 'sv' of null  照着这个报错查

Aar0n

赞同来自:

这个提供你出问题的demo吧,我们查一下原因

177*****610

赞同来自:

好的,弄了一个默认的空场景,加了一个粒子

177*****610

赞同来自:

新版本已没有这个问题了

要回复问题请先

商务合作
商务合作