[LayaAir 2.0]tiledmap Bug

TypeError: Cannot read property 'split' of undefined
preload.js:55
at TiledMap.__proto.mergePath (file:///D:/layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.tiledmap.js:411:31)
 
at TiledMap.__proto.onJsonComplete (file:///D:/layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.tiledmap.js:398:19)
 
at EventHandler.__proto.runWith (file:///D:/layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.core.js:1407:59)
 
at Loader.__proto.event (file:///D:/layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.core.js:1164:28)
 
at Loader.__proto.endLoad (file:///D:/layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.core.js:16315:8)
 
at Function.Loader.checkNext (file:///D:/layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.core.js:16351:40)
 
at Loader.__proto.complete (file:///D:/layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.core.js:16303:34)
 
at Loader.__proto.onLoaded (file:///D:/layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.core.js:16268:9)
 
at EventHandler.__proto.runWith (file:///D:/layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.core.js:1407:59)
 
at HttpRequest.__proto.event (file:///D:/layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.core.js:1164:28)
 
TypeError: Cannot read property 'split' of undefined
laya.tiledmap.js:411
at TiledMap.__proto.mergePath (file:///D:/layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.tiledmap.js:411:31)
 
at TiledMap.__proto.onJsonComplete (file:///D:/layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.tiledmap.js:398:19)
 
at EventHandler.__proto.runWith (file:///D:/layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.core.js:1407:59)
 
at Loader.__proto.event (file:///D:/layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.core.js:1164:28)
 
at Loader.__proto.endLoad (file:///D:/layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.core.js:16315:8)
 
at Function.Loader.checkNext (file:///D:/layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.core.js:16351:40)
 
at Loader.__proto.complete (file:///D:/layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.core.js:16303:34)
 
at Loader.__proto.onLoaded (file:///D:/layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.core.js:16268:9)
 
at EventHandler.__proto.runWith (file:///D:/layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.core.js:1407:59)
 
at HttpRequest.__proto.event (file:///D:/layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.core.js:1164:28)
1MR4OLNJCQ{0UGF9N1F7C@7.png
已邀请:

Aar0n

赞同来自: 恋离飞翼

您用的瓦片是不是版本过高?  推荐1.0.1版本

要回复问题请先

商务合作
商务合作