I have a OnTriggerEnter2D method which should debug a message and run a function every time the tag is set and the bool is set to false and even though both conditions are met it still doesnt debug the message or run the function.
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.