I'm unable to paint tiles

It’s my first time doing anything in Unity. I’m trying to paint isometric tiles, but it’s not working. I followed this tutorial →

and at this timestamp, he simply clicks on the Tile Palette selecting the tile he wants to use and then he is able to paint over the grid. When I do that, nothing happens, nothing gets painted.

I’ve been trying to do this for the past hour, closing and opening again, doing it all over again multiple times, making sure I follow each step and I just can’t get it to work. I’m really frustrated.

Here’s how I have it set up → Imgur: The magic of the Internet

What am I missing?

The tutor goes through the Tile Palette window showing you what each tool does. You will note that he selects the Paintbrush Tool to paint tiles onto the grid in the Scene. Your image shows you have the Erase Tool selected in the Tile Palette.

Thank you for the reply. It shows the eraser indeed, but I tried with the brush tool. It simply doesn’t paint. I tried different types of tiles from different packages also. Still doesn’t work.

Based on your image of the Tile Palette, it seems that your Tiles are far larger than the Grid. You will need to pick the Tiles from the location they are on rather than based on the visual image of the Tile.

Ideally, you would have set up the Grid so that each cell matches a Tile as close as possible. You could do this by:

1 Like

Hey Everyone,

I am also experiencing the same issue, however, I have resized the tiles properly etc. Nothing paints, and I’ve also followed the Unity manuals and tutorials. I’ve set the rendering Transparency axis to be (0,1,-.26) as well.

When I select the tile with my cursor, then hit brush, then paint in scene, nothing happens.

*Edit: I did nothing but it suddenly worked.

Hey, for anyone looking at this in the future, I had this same problem. I think it has to do with the size of your tiles vs. the cell size of the grid. Originally, I thought it wasn’t painting anything, and then I zoomed in and it had painted extremely small tiles in the middle of each space so try resizing your grid cellSize or your tile size.

Edit: It worked for me. What I did was i deleted the palette and re-imported it, DO NOT automatically set cell size. Instead, select MANUAL and set it to the size of your tiles in the png. Ex. I set mine to 8 x 8. For me it resized everything and now I see my tiles so. Also, the image uploaded with all of the red is where I was painting in frustration and nothing was showing up. The red is simply where Unity is showing that the tile asset is missing because I deleted the tile set and redid everything.



1 Like

In your Tile Palette, use the pick tool (eye dropper icon) to confirm that the tile you want to paint with is actually selected.

6 Likes

I had a same problem, but the reason was that I forgot to create 2D tile map.
(Hierarchy → right click → 2D Object → Tilemap)

8 Likes

I think for me the problem was just that the tilemap in the hierarchy was not selected. After clicking on it (the inspector window for the tilemap came up) I was then able to paint on the scene.

That was my problem too. Thanks anyway to everyone who helped :slight_smile:

Well, if anyone stumbles upon this problem again, I had a problem with the pivot of the sprites… I actually had to select the square above the sprites to actually be able to paint with the sprite below (go figure).

OMG thank you so much!

I had the same issue, and it was a rather easy fix if nothing above has fixed it for you.

In your palette, you may have selected “Edit” at some point, this will be indicated by an * - after the word “Edit”
just click “Edit” again, press b to select brush tool, select the tile you want to paint and go at it.

6 Likes

THANK YOU!!! THAT WAS IT

Same symptom, two problems:

  1. I had the Game tab clicked in the scene window. Click the Scene.
  2. The Edit mode as mentioned above was enabled.

Wow. Confusing.

1 Like

As a note, if you create your tilemap before you have made your tile set, tile palette, and tiles, then there does not seem to be anything you can do to get it to paint on that tilemap ever.

I was able to fix this by deleting my tilemap and making a new one once I had my tile palette set up

1 Like

that fixed it for me, thanks

I found that the sprite was being drawn much smaller inside a correctly sized cell. I resolved this by increasing the Grid’s Transform Scale and setting the Grid component Cell Size to 1.

Probably not a correct solution but may help troubleshoot.

Guys I solved the problem myself. Make sure you added Tile map to your scene and make sure you select the eye drop icon in your tile palette than select asset you want in the palette. It is automatically gonna select your brush and you are good to go. I fucking solved it in 1 hour I hope this helps you

1 Like

don’t swear please