-
Creator 版本:1.9.1
-
目标平台: mac和ios真机以及模拟器
-
详细报错信息,包含调用堆栈:
ERROR: TypeError: undefined is not an object (evaluating ‘c.body’), location: src/jsb_polyfill.js:11892:7
STACK:
emit@src/jsb_polyfill.js:11892:7
_onBeginContact@src/jsb_polyfill.js:12178:30
Step@[native code]
update@src/jsb_polyfill.js:12007:7
ERROR: TypeError: undefined is not an object (evaluating ‘c.body’), location: src/jsb_polyfill.js:11892:7
在碰撞开始BeganContact的时候
this.colliderA = t.GetFixtureA().collider;
this.colliderB = t.GetFixtureB().collider;
这里的colliderA,colliderB有时候是空的,这个很大概率是引擎的问题,我找了一晚上没有找到,不知道官方会不会管一下。chrome浏览器上没有问题,在mac和ios上有问题。
-
重现方式: =我弄个demo
-
之前哪个版本是正常的 :
-
手机型号 :iphone6 ios10,mac也是的
-
手机浏览器 :
-
编辑器操作系统 :mac
-
编辑器之前是否有其它报错 :无
-
出现概率:
-
额外线索: