Is there any better way to update tilemap images without corrupting the grid?

Updated on June 14, 2018 in [A] 2D
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
1 on June 14, 2018

I have a problem with Unity 2018 and tilemaps. I wanted to start with a simple tileset image and add new tiles to it on the way, whenever I need new ones, as in this example:

Then I use the script editor, create the tiles with the tile palette and start building a level. All fine.

The problem comes when I want to add a new tile to the tileset image. If I apply slice on the sprit editor again and recreate the tile palette (by drag and drop the tilemap image in the same position), everything on the level gets corrupted and replaced by colors, even if the tiles are in the same positions as before in the tile palette.

Do you know a proper way to do this? Thanks

  • Liked by
Reply
0 on June 14, 2018

I am adding the new tiles in the bottom of the tilemap
because if I add them to the right, everything loses the original tile number

  • Liked by
Reply
Cancel