Unity Collider Trigger Suddenly Stop Working

I have game with on trigger Collider component. when i play it, it run normal all collider trigger in the game run like i wanted. until suddenly, it stop after a several trigger. console don’t run any more log despite clearly it has touch object that should trigger. Any one know what is wrong?

private int count;
private Mode currentMode;
static bool reset;

private enum Mode
{
    Mode_1,
    Mode_2,
    Mode_3
}

private Action<Transform> TriggerAction;

private void Awake()
{
    count = 0;
    switch (currentMode)
    {
        case Mode.Mode_1:
            TriggerAction = (tf) => Mode1Action(tf);
            break;
        case Mode.Mode_2:
            TriggerAction = (tf) => Mode2Action();
            break;
        case Mode.Mode_3:
            TriggerAction = (tf) => Mode3Action(tf);
            break;
    }
}
private void Mode1Action(Transform triggerTransform)
{
    //main mode that i want to take effect but only once
    if(reset)
       {
          count++;
          //run object trigger specified command 
          reset = false;
       }
}
private void Mode2Action()
{
    //mode to reset main effect trigger so it run once
    if(reset == false){
        reset = true;
       }
}

private void Mode3Action()
{
      //run something different 
}

private void OnTriggerEnter2D(Collider2D other)
{
    TriggerAction(other.transform);
}

i write script like this so that i can make manage multiple object in game that has trigger collision easily and because player control multiple game object with Collider and RigidBody that gonna trigger, i also want to make sure it trigger once until one of game object player control is triggering the collider i setup. Is there something wrong with the script or something else?