VM207:1 gameThirdScriptError
Cannot read property ‘0’ of null
TypeError: Cannot read property ‘0’ of null
at Object.fillBuffers (http://127.0.0.1:44535/game/cocos2d-js-min.20e44.js:1:606812)
at v._commitComp (http://127.0.0.1:44535/game/cocos2d-js-min.20e44.js:1:614485)
at g.132.y._render (http://127.0.0.1:44535/game/cocos2d-js-min.20e44.js:1:560990)
at g.132.y._children (http://127.0.0.1:44535/game/cocos2d-js-min.20e44.js:1:561510)
at g.132.y._children (http://127.0.0.1:44535/game/cocos2d-js-min.20e44.js:1:561510)
at Function.132.g.render (http://127.0.0.1:44535/game/cocos2d-js-min.20e44.js:1:562683)
at visit (http://127.0.0.1:44535/game/cocos2d-js-min.20e44.js:1:614717)
at Object.render (http://127.0.0.1:44535/game/cocos2d-js-min.20e44.js:1:416778)
at 26.cc.Director.mainLoop (http://127.0.0.1:44535/game/cocos2d-js-min.20e44.js:1:123116)
at callback (http://127.0.0.1:44535/game/libs/engine/Game.js:26:22)
每次切换场景的时候 就出这个错误,但好像 有不影响什么 也能运行继续,上一个场景释放资源releaseAll后,下一个场景onLoad 前出现 没有自己的代码,求科普 如何处理 如何查问题?
我也遇到了这个问题