Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Annoying gaps between tiles are stubborn!

Discussion in '2D' started by Shinado, Aug 14, 2019 at 5:26 PM.

  1. Shinado

    Shinado

    Joined:
    Jun 20, 2019
    Posts:
    8
    Whenever I work with 2d game and Tiles... I always get these annoying gaps b/w tiles... I know there are many fixes for it but none worked for me and they act wierd....
    I have one project and in it , I made a sprite mat with pixel snap and it fixed the gaps...
    When I was refining the scripts, the gaps automatically appeared, and this time there were more(They were in vertical lines, I don't have an image). Then I reopened the project, it was fixed.... And after some time , they now appeared in grids... The gap.png
    When I disabled pixel snap, it fixed itself!!
    The gap , fixed.png
    But still not completely, when my camera follow the player, the gaps appear....


    So, what is happening here, how can I fix this? I got anti aliasing disabled as well as compression and filter disabled....
    Thanks in advance.
     
  2. migbernabeumor

    migbernabeumor

    Joined:
    Apr 7, 2019
    Posts:
    16
    You can use a package called pixel perfect works perfect for this. If this doesnt work try this: