Cocos Creator 3.7 2d physics contact always null

Hi!

I use Cocos Creator 3.7 and builtin 2d physics. In my collision callback contact is always null. Collisions detected and colliders determined right way.

onBeginContact(selfCollider: Collider2D, otherCollider: Collider2D, contact: IPhysics2DContact | null) {
        // contact is always undefined
    }

I need contact to determine contact points to spawn effects there. How can get contact info? As I remember in Cocos Creator versions 2.* contact was the first parameter and there was no issues getting it. Do I miss some setup for physics manager or something?

Thanks!

Hi, take a look at this test case