Problem with floor not being solid everywhere

Hi. So basically the floor that my player character walks on is only solid at the center of the tile. So whenever i try walking my character just falls right through the ground unless hes placed at the center of the tile.
Here is a video showing my issue

I’m confused. You have a BoxCollider2D that isn’t under your player so you don’t hit it. You move it under your player and then you do and you don’t understand why it doesn’t hit it?

By your own video you can see the size of the collider with the green rectangle and I can just about see the inspector in the low-quality video is 3.7 units wide. Your sprite is 50.3 units wide.

Why not resize the BoxCollider2D yourself or reset it to it does it fo you?

I’m new to unity so i have no idea what im doing

You’re best to follow one of the many tutorials then on 2D physics. The green box is the gizmo showing you the collider size. Increase it to match the width of your sprite. Do that either by grabbing the handles in the view and dragging or go intot he inspector where it says BoxCollider2D and increase the size, specifically the width (X). Or go to that component and select the treble-dot icon on the top right and select Reset Collider.