Player floating on the ground problem

Hello, i have a problem wich the player keeps floating above the ground. My capsule collider is where it needs to be and it is not bigger than the player. Also, all my sprites are at the same level, when i created them i had this in mind. Its just that i cant make the player actually collide with the ground, it keeps floating a little above it.

This is the defaultContactOffset and is there to ensure a stable collision-detection. If you adjust this then you may get unexpected results from detection. The idea is that this small value should be visually insignificant but is numerically significant for physics purposes.

I would recommend offsetting the capsule upwards slightly for the case of contact with the floor rather then reducing the value.

I will also recommend to have a look in the box collider of the ground object, make sure is not bigger than the image - this happened to me!