[LayaAirIDE 2.0]释放资源Cannot read property '_getSource' of undefined重新加载会容易报错

微信小游戏上面
QQ20200625-200056@2x.png

 MiniProgramError
Cannot read property '_getSource' of undefined
TypeError: Cannot read property '_getSource' of undefined
at we._uniform_sampler2D (game.js:34:223996)
at t.uploadShaderUniforms (game.js:28:446232)
at we.uploadUniforms (game.js:34:224675)
at Ut._render (game.js:34:338289)
at Yt._render (game.js:34:363882)
at rr._renderScene (game.js:34:402140)
at Rt.render (game.js:34:306788)
at rr.renderSubmit (game.js:34:405613)
at Qt.submitElement (game.js:28:172187)
at Qt.flush (game.js:28:172254)
已邀请:

Laya_z

赞同来自:

能否提供一个复现问题的Demo

136*****504

赞同来自:

我发现先clear loader可以解决这个问题

要回复问题请先

商务合作
商务合作