OnTriggerEnter is not Working

void OnTriggerEnter(Collider collider)
{
Debug.Log(“Collision”);

    }

The code at the top isn’t working at all. Both object have a collider component, on the first object the collider is a trigger and the second object has a rigidbody that isn’t kinematic. The Script is on the second object. What could be the Problem?

Ahhhhh
You need to mark the gameobject with script as “istrigger”
If that is not an option use oncollisionenter().