Movable RigidBody2D gets stuck on collision shape of TileMap

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By lreinink

I use a RigidBody2D with a rectangular CollisionShape2D to create a movable box. The box moves how I want it to, but every now and then it gets stuck on a collision shape of the TileMap floor (see video). Specifically, it happens at 8 seconds and 10 second (and some more times after). If I change the shape to a circular collision shape, it works, but this does not represent the shape of the box. I added the configuration of the TileMap in the image. I was wondering what I need to change to fix this. I already heard that this may happen due to microscopic gaps, but I don’t understand how that can happen with the TileMap settings as they are. Thank you!

image

video