it have been changed to 3.8.x, so in 3.8.x not only needs collider component but also rigidbody component, and you can change it by refering link: Is Engine's Error? - #11 by Tom_k. BTW, we have built a issue(collide Events needs rigidbody in Cocos 3.8x but dont need in Cocos 3.7.4 · Issue #17541 · cocos/cocos-engine · GitHub) to address it.