First of all, check if your object's collider is set to trigger, also make sure that your layers can collide (check if a layer of trigger collider can be hit by other layers). Another thing to keep in mind is that for colliders to work at least one of the objects should have a rigidbody component. These are only a few things that might cause your problem.