OnTriggerEnter not working

Here is my problem.
I want a trigger to activate a cave-in once the player has entered it, however using the below code, no debug log is written.
I’m somewhat new to C#, so I apologise if it is a dull mistake.

My main culprit, at least in my mind, is the game object that I’ve assigned the script to, which is the trigger itself. Is this correct?

I’ve set the collider to “other” to test, but I’ve also set it to player with the same lack of result.

Thank you all so much for your help!

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Cavein_Event : MonoBehaviour
{
    public GameObject playerCollider;
    public GameObject Collider;

    void Start()
    {
        playerCollider = GameObject.FindGameObjectWithTag("Player");
        Collider = GameObject.Find("Cavein_Trigger");
    }

    private void OnTriggerEnter(Collider other)
    {
        Debug.Log("TriggerActivated");
    }
}

Ok, 3 hours of searching later, no search actually yielded results that worked as nobody ever seems to specify whether their project is 2D or 3D. I admit I am one of those people.

For anyone wondering this code was for a 2D game.
the issue lay within the following code

private void OnTriggerEnter(Collider isTouching)
{
    Debug.Log("TriggerActivated");
}

it in fact should be:

private void OnTriggerEnter2D(Collider2D isTouching)
{
    Debug.Log("TriggerActivated");
}

Hope this helps someone, whether it be tomorrow or in 30 years.