Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Unable to remove pink squares in the 2d tilemap editor

Discussion in '2D' started by oliver_unity892, Nov 16, 2019.

  1. oliver_unity892

    oliver_unity892

    Joined:
    Oct 28, 2019
    Posts:
    91
    Hi

    I've loaded up my project and I've noticed that I have pink squares on my tilemap in the tilemap editor. There's also some pink squares on in a tile palette in the palette pane.

    There are two odd things here. One is that the pink squares in the palette relate to blank squares when I check the master. As far as I know I've never used these blank squares on the tilemap in the editor. They are just blank pending me getting around to finishing those images.

    The other odd thing is that I can't delete the pink square in the editor. I can see which grid they are on. I can untick that grid and everything on that grid disappears, including the pink squares. However I can't erase them, overwrite them, shift-rectangle-delete them, nothing.

    Any ideas how I can remove them and start over, ideally without deleting the grid itself (it's fairly large and has loads of stuff on it)?

    Unity 2019.2.11f1

    Olly
     
  2. MisterSkitz

    MisterSkitz

    Joined:
    Sep 2, 2015
    Posts:
    833
    This actually happens a lot starting probably back in Unity 2017. I think you can rename the folder that your tile sprites are in and restart Unity and the pink tiles will be gone. I haven't heard of any other viable solution to apparently an on-going issue.
     
  3. oliver_unity892

    oliver_unity892

    Joined:
    Oct 28, 2019
    Posts:
    91
    Cheers MisterSkitz. I'll give it a go later.
     
    MisterSkitz likes this.
  4. oliver_unity892

    oliver_unity892

    Joined:
    Oct 28, 2019
    Posts:
    91
    I wasn't able to resolve the issue. Not matter what I renamed, no matter how much I restarted Unity, the pink squares remain. So I had to restore from a backup and start over.

    Thanks for the help though.
     
  5. MisterSkitz

    MisterSkitz

    Joined:
    Sep 2, 2015
    Posts:
    833
    I guess the only way to resolve that is to create a tile the same color as the background and paint over the pink tiles? I had this happen to me awhile back but renaming the folder, saving, and restarting Unity worked for me. I was using Unity 2018.3 at the time. I also remember how annoying that was! Something about the tiles Sprite Mesh messing up. If it happens again, try reloading your tile sprites, repaint the pink tiles and try deleting again. If this doesn't work, I'm out of ideas, amigo.
     
  6. EaglemanGameDev

    EaglemanGameDev

    Joined:
    Aug 29, 2020
    Posts:
    6
    This happened to me too(Rogue pink squares in Tile Palette). I found a solution that worked for me.

    Step 1 - Open the Tile Palette editor window






    https://drive.google.com/file/d/1FhRs3qtbsg6xmVQrRvauiNBtKpBFFtbd/view?usp=sharing

    Step 2 - Click on the EDIT button
    https://drive.google.com/file/d/164Ukst8_5fstf8VAQ6w8ncUAALzPJfaN/view?usp=sharing

    Step 3 - Click the pink squares you wish to remove
    https://drive.google.com/file/d/1eeIwq64_ghemMiLaaL5hzcKpRVWeqmVN/view?usp=sharing

    Step 4 - Pink squares should disappear as you click on them (EDIT button will change also)
    https://drive.google.com/file/d/10OuRXbsXYjZ7X7Mof07I0PIZzU30YOSQ/view?usp=sharing

    Step 5 - Click on the EDIT button when finished
    https://drive.google.com/file/d/1jo0oZqsC9VeMMwmK1ia2BKRiVcSVykKo/view?usp=sharing

    Step 6 - Voila!
    https://drive.google.com/file/d/1j7_BsLI7es1C-YQVxk6orlMscWDV8PTv/view?usp=sharing

    This worked for me. I hope it helps you.
     
  7. SNAKEEYE007

    SNAKEEYE007

    Joined:
    Oct 24, 2020
    Posts:
    1
    what i understand from your question i don't know its correct or not..but here is my solution
    actually the pink square is appearing because the material from the tile map render is missing, it work for me.
    I hope for u also.:)
    upload_2020-10-24_20-1-55.png
     
    Juice97 and b144 like this.