-
Creator 版本: 3.8.2
-
目标平台:360浏览器
-
重现方式:RigidBdy2D组件和BoxCllider2D组件里的group设置一样的就会报错
-
首个报错:

TypeError: Cannot read properties of null (reading ‘enabledContactListener’) at PhysicsContact.emit (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:192244:21) at PhysicsContactListener._onPreSolve [as _PreSolve] (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:192659:13) at PhysicsContactListener.PreSolve (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:301077:18) at b2PolygonContact.Update (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/external/%40cocos/box2d.js:2500:608) at b2ContactManager.Collide (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/external/%40cocos/box2d.js:2760:9) at b2World.Step (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/external/%40cocos/box2d.js:4787:68) at b2PhysicsWorld.step (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:192447:23) at PhysicsSystem2D.postUpdate (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:195951:31) at Director.tick (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:20420:35) at Game._updateCallback (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:21427:22)
设置如下:

