This is the size of my collider


As you can crealy see the It’s crealy inside the collider box.
Even though it calls my script and my player dies. This is my script for killing the player
void OnTriggerExit(Collider other)
{
if (other.tag == "Tile")
{
RaycastHit hit;
Ray downRay = new Ray(transform.position, -Vector3.up);
if (!Physics.Raycast(downRay, out hit))
{
_direction = Vector3.zero;
_isDead = true;
ResetButton.SetActive(true);
}
_score = _score + 1;
ShowScore();
}
Sometimes it works as it should, but 40% of the time it dies even though it’s inside the collider box…