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. Dismiss Notice

Pink tiles after moving sprites between folders

Discussion in '2D' started by Nitsan448, Apr 16, 2021.

  1. Nitsan448

    Nitsan448

    Joined:
    Aug 22, 2019
    Posts:
    14
    Hello everyone.
    About 2 weeks ago all of the tiles became pink in my tile pallete.
    I can still use the pallete to add tiles to the scene, and they are visible there, but this makes it very hard to use the pallete.
    I am pretty sure that this happened due to me moving sprites between folders. However, moving them back to the folders they were originally in does not fix the bug.
    Any sprites I try to add to any folder in the project now also become pink when I put them in the pallete.
    I will greatly appreciate any help with this.
    2021-04-12.png
     
  2. ChuanXin

    ChuanXin

    Unity Technologies

    Joined:
    Apr 7, 2015
    Posts:
    1,068
    Hi, could you use the Select Tool (Arrow cursor) and click on a cell with a Tile, and share a screenshot of the selection in the Inspector? If there are valid entries in the Tile and Sprite, the folder operations should have worked properly.

    Also, you may want to try checking the TilemapRenderer for your Tile Palette asset. You can do so by selecting the Tile Palette asset in your project window, and double click on it to enter Prefab Editing mode. You can check the Tilemap GameObject for the Tile Palette asset and see if there is a valid material for your TilemapRenderer.

    Hope this helps!
     
  3. Nitsan448

    Nitsan448

    Joined:
    Aug 22, 2019
    Posts:
    14
    Hey, I finally managed to find the problem two days ago, and you were right :)
    I had the wrong material set in tile pallete prefab.
    Thank you very much!