Unity collision detection is not working

I have been trying to use the OnCollisionEnter method that i used back in the day. But no matter how i set up the 2 objects with rigid body or box collides the method is never called. Has something changed, the only forum post I’m able to find are from years ago. I’ve followed videos and pictures exactly and nothing is happening. Any input is appreciated

Same problem here. I’m actually detecting collisions with spheres, cylinders and capsules. But not with the cube. I’ve tried using triggers instead of collisions and it doesn’t change anything. No detection for the cube when using the exact same script that works with every other shape. What the hell?