用的是1.9.2版本,微信后台收到了不少这样错误,都是微信7.0.4版本才有的错误。
目前已经定位到是cocos2d-js里的报错,不过还不知道什么原因导致的。
具体报错信息:
cc.GLProgram.getUniformLocationForName(): Invalid operation. Cannot get
uniform location when program is not initialized;at
requestAnimationFrame callback function
Error: cc.GLProgram.getUniformLocationForName(): Invalid operation.
Cannot get uniform location when program is not initialized
at e.getUniformLocationForName (https://usr/game.js:3:652837)
at e.setUniformLocationWith4fv (https://usr/game.js:3:655723)
at e.drawSolidPoly (https://usr/game.js:3:109277)
at e.drawSolidRect (https://usr/game.js:3:108406)
at 14.cc.ClippingNode.WebGLRenderCmd.14.o._drawFullScreenQuadClearStencil
(https://usr/game.js:3:79009)
at 14.cc.ClippingNode.WebGLRenderCmd.14.o._onBeforeVisit
(https://usr/game.js:3:79547)
at 39.cc.CustomRenderCmd.rendering (https://usr/game.js:3:175501)
at Object.rendering (https://usr/game.js:3:511253)
at e.mainLoop (https://usr/game.js:3:95884)
at Function.t (https://usr/game.js:3:117472)
