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

Problem with Sprite Sheet and TileMap cell size matching

Discussion in '2D' started by 15north97, May 3, 2020.

  1. 15north97

    15north97

    Joined:
    May 3, 2020
    Posts:
    5
    Hello,

    I know this may be a very easy fix but I cannot find the proper settings to make my tile set work.

    In the image below I have a tile selected. I automatically sliced the sprite sheet with the setting sin the bottom right corner. (16x16, pivot top-left, normalized pivot mode) Everything looks good.

    upload_2020-5-3_13-39-41.png


    When I create the Tile Palette I use the default settings. (automatic, scale, 1x1) When I drop one of the sprites into the palette the below image is what I get.

    upload_2020-5-3_13-39-3.png

    I am really unsure what I am doing wrong. I have looked around and tried a few things, but to no avail.

    Thanks, in advance.

    Jacob
     
  2. ed_s

    ed_s

    Unity Technologies

    Joined:
    Apr 17, 2015
    Posts:
    165
    Do you need to have your pivot at the top left? If you change the pivot to center, it could help the tiles appear properly in the tile palette.
     
  3. 15north97

    15north97

    Joined:
    May 3, 2020
    Posts:
    5
    No, I don't need it that way. Let me change that and try again. Thanks.
     
  4. 15north97

    15north97

    Joined:
    May 3, 2020
    Posts:
    5
    That fixed the problem! Thanks