GameObject Brush Replaces Prefab Brush

How to use the Prefab Brush in Unity 2020+

Valdarix Games
Nerd For Tech
3 min readJun 16, 2021

--

// or not.

Ok, before you get your hopes up the prefab brush is gone. As of 2D TileMap Extras 1.6 or later and Unity 2020 or later you can no longer use the Prefab Brush in Unity Tile Palettes. However all is not lost. While the Prefab Brush has been removed a replacement exists, kinda.

Starting in 2D TileMap Extras 1.6 and newer you now have to use the GameObject Brush to get most of the prefab brush functionality.

To use the object brush we need to have our Tile Palette window open, at the bottom is a drop down with brush types. GameObject Brush being one of them. Click the down arrow and select the GameObject Brush.

Expand the Cells Options and drag up the settings to get a full picture.

The settings

Now for the caveats. First the object you place in the GameObject box has to be a child object of the TileMap Grid, fi not it can’t be selected or painted with this brush. So you will need at least one version of your prefab in the scene in order to paint it. Second, these brushes can’t be saved like prefab brushes so you need to load the gameObject prefab every time you want to use it.

With the game object loaded into the brush you can now paint it onto the scene like…

--

--

Valdarix Games
Nerd For Tech

Turning my passion for video games and software development experience into a focus on video game development.