Fix tiles gap

Hello

Please see image:

How can i fix the gaps/ spaces between my tiles? In the tiles sheet and sprite editor it looked great.

Hey,

When you click on the tile sheet in your project window, there will be something called “Pixels Per Unit” in the inspector. Make sure that the PPI matches your sprites dimensions. For example, if the sprites are 32x32, the PPI should be 32.

Also make sure that there isn’t any empty space in the sprite.

Good luck.

try creating a sprite atlas, then putting all your tile sprites in it

Yeah it seems like it’s quite likely the issue of PPU which would be the easiest fix.

If PPU doesn’t solve it, then try Sprite atlasing. Here’s a short 3 mins YouTube tutorial titled “How to fix tilemap tearing and edges/gaps in a 2D Unity Project” which shows exactly how to do that.