很奇怪,我用cc.TMXTiledMap创建瓦片地图时大多都没问题,但是有个别会报出下面问题,但是转换场景后,重新加载这个报错的场景又没问题了,有哪位大神能解释下不
Uncaught TypeError: Cannot read property ‘isLoaded’ of undefined
at Class._fillTextureGrids (CCTMXLayer.js?_t=1506247605092:115)
at Class. (CCTMXLayer.js?_t=1506247605092:117)
at Class.dispatchEvent (CCEventHelper.js?_t=1506247605031:110)
at Class.handleLoadedTexture (TexturesWebGL.js?_t=1506247605046:503)
at Object._p.handleLoadedTexture (TexturesWebGL.js?_t=1506247605046:871)
at TexturesWebGL.js?_t=1506247605046:925
at Image.loadCallback