如题:有朋友遇到同样的问题吗?发布成网页测试一切正常,放入主域中不行,感觉是触摸事件没有传递进去。我尝试子域只放一个button测试,结果只放一个button直接报错了,错误如下:
gameSubContextThirdScriptError
Cannot read property ‘_owner’ of undefined;at setTimeout callback function
TypeError: Cannot read property ‘_owner’ of undefined
at Function.getInstantiatedMaterial (http://127.0.0.1:54152/game/RankPro/cocos2d-js.78072.js:7695:18)
at _Class3.189.GraySpriteState._switchGrayMaterial (http://127.0.0.1:54152/game/RankPro/cocos2d-js.78072.js:28342:52)
at _Class3._updateDisabledState (http://127.0.0.1:54152/game/RankPro/cocos2d-js.78072.js:9247:16)
at _Class3._updateState (http://127.0.0.1:54152/game/RankPro/cocos2d-js.78072.js:9187:14)
at _Class3.__preload (http://127.0.0.1:54152/game/RankPro/cocos2d-js.78072.js:8964:14)
at callPreload (http://127.0.0.1:54152/game/RankPro/cocos2d-js.78072.js:16850:9)
at _Class3._invoke (http://127.0.0.1:54152/game/RankPro/cocos2d-js.78072.js:8663:11)
at _Class3.invoke (http://127.0.0.1:54152/game/RankPro/cocos2d-js.78072.js:16868:14)
at _Class3.activateNode (http://127.0.0.1:54152/game/RankPro/cocos2d-js.78072.js:16964:24)
at _Class3._activate (http://127.0.0.1:54152/game/RankPro/cocos2d-js.78072.js:5911:36)
是不是bug???