Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Top down tile map visual bug

Discussion in '2D' started by ESpeiring, Dec 10, 2019.

  1. ESpeiring

    ESpeiring

    Joined:
    Feb 20, 2017
    Posts:
    3
    My current tile map works perfectly when I am managing it in the editor and looking at it normally. As soon as I look through the camera or start the game my tile map has a line through it where it looks like 1 pixel is from another tile. This is not a rendering issue where I made the art overlap because it only happens in one row not on every tile alike. Here is a picture I would really love some help!

    upload_2019-12-10_17-9-3.png The yellow and brown are not supposed to be there.

    *EDIT* I found a way to fix this problem at least in my case. In unity the grid you are placing your tiles on has a tile size setting. Simply changed the tile size down by .001 and it got rid of every graphic issue since the tiles should be overlapped slightly.
     
    Last edited: Dec 13, 2019
  2. bluefairymediallc

    bluefairymediallc

    Joined:
    Dec 10, 2019
    Posts:
    10
  3. eses

    eses

    Joined:
    Feb 26, 2013
    Posts:
    2,637
    @ESpeiring

    You might also consider renaming your thread, now it is not very descriptive. "2D TILE MAP issues" could be anything related to tilemaps.
     
  4. ESpeiring

    ESpeiring

    Joined:
    Feb 20, 2017
    Posts:
    3
    Thank you, this is my first post and I am getting a lot of quick help, really appreciate it. I will rename the thread ASAP