[LayaAir 2.0]微信小程序调试器运行正常,真机调试报错

VM128:1 gameThirdScriptError
self is not defined;at api request success callback function
ReferenceError: self is not defined
at new s (game.js:6:16022)
at  (../../src/script/GameUI.js:10:1)
at  (../../src/script/GameUI.js:10:1)
at  (../../src/script/GameUI.js:10:1)
at at (game.js:6:17062)
at  (../../src/script/GameUI.js:10:1)
at  (../../src/script/GameUI.js:10:1)
at  (../../src/script/GameUI.js:10:1)
at  (../../src/script/GameUI.js:10:1)
at  (../../src/script/GameUI.js:10:1)
 
游戏刚运行的时候就报这个错,然后运行当中碰撞障碍物的时候有时也会报,游戏demo中没有res文件,已经上传远程服务器,不设域名限制即可访问到
QQ截图20191030165511.jpg
已邀请:

要回复问题请先

商务合作
商务合作