cocos 3.3.2在添加了 BoxCollider碰撞组件 就报错 Uncaught TypeError: Cannot read properties of null (reading '__prefab')

cocos3.3.2在添加了 BoxCollider碰撞组件 就报错 Uncaught TypeError: Cannot read properties of null (reading ‘__prefab’)

你去项目设置里的功能裁剪里面把2d 3d的功能都打开看一下