OnTriggerEnter isnt being called?

I have this simple piece of code that should work but it doesn’t

void OnTriggerEnter (Collider other) {
     Debug.Log("Collision Detected ");
}

I have tried various things like putting a rigid body on both objects but nothing seems to work. Anyone have any idea why?

Does the object that has that script attached has it’s collider marked as trigger? The objects that should be colliding are they on a layer that allows them to do so? Also make sure that if any of them has a rigidbody it is not marked as kinematic.