Weird Box Collider and Rigidbody error

so i am making a game where the player has to shoot at the spawning enemies, the enemies movement was working before, but when i reopened unity the enemy goes through the floor and just moves diagonally down. Please help!

Check if the physics matrix is the way you intend it to be
Edit → Project settings → Physics

Also check if the floor is NOT checked as a trigger.