The character cannot pass through the trigger

Hello everyone.
I was faced with the problem of entering the trigger. There is a Collider activated as a trigger. In the script, I described the event:

void OnTriggerStay(Collider other)
{
if (other.CompareTag(“Player”) && !isShow)
{
//somecode
}
}

When I try to enter the right trigger - the character does not pass through it, if there is a Collider. But when I try to jump into it - everything works. Also, if I try to log into the trigger sideways it works. What could be the problem?

You might be using a mesh collider for the trigger. Use a cube collider if this is only a trigger.

add a debug.log to the onTriggerEnter, this tells you what is hit when and what obstructs your player.

Debug.Log( "Hit this one: " + other.gameObject.name );

If your object is a mesh collider, try setting the “is convex” check to true. That solved my issue.