OnCollisionEnter is not called in unity

Are you using 2D colliders and rigidbodies? If so use this function instead of OnCollisionEnter

void OnCollisionEnter2D(Collision2D coll)
    {
        Debug.Log(coll.gameObject.tag);

    }
tech