How to increase the size of Tilemap Collider 2D in Unity?


You want the collider to outline the entire cube.

Tilemap Collider 2D:

There are some options inside the sprite options, in the sprite editor window, in the left upper corner, click on Sprite Editor and below there is the Custom Physics Shape, here you can modify the shape of your selected sprite. Also make sure that the size of the sprites and the size of the grid are in sync.