Thanks samme!
As I really want to use the benefits of new matter integration of version 3.22.0, I just add an extra check at the file MatterCollisionEvents.js
if (bodyA.gameObject && bodyA.gameObject.emit) {
bodyA.gameObject.emit('collide', bodyA, bodyB, pair)
}