1
\$\begingroup\$

Unity has a wonderful Tile Palette feature. However after I drag and drop the sprites to the Tile Palette, the tiles are off-centered like so (Notice the white square, it's the cursor):

enter image description here

I've tried fiddling with the Cell Size/Gap within the Grid object, and the Tile Anchor from the Tileset object with no difference.

Although I can place the tiles right in the scene, it's a headache to re-arrange and place the tiles within the Tile Palette with this off-center tile issue.

Did anyone of you faced and solved this issue before? Perhaps I overlooked something?

\$\endgroup\$
2
\$\begingroup\$

I fixed it by:

1.) Deleting my current tiles in the tile palette.

2.) In the inspector, after selecting the sprite that I wanted fixed properly on the tile palette, I changed the sprite's pivot from "bottom left" to "center".

3.) Made sure to hit apply at the bottom of the inspector.

4.) Then dragged the updated sprite into the editor and it was then centered properly.

Hope this helps, its my first time ever posting something about Unity.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.