Enable overlays (Three-dot menu in the Scene view -> Overlays -> Enable Overlays)
In the Tile Palette window, select "Random Brush"
In the Random Brush settings, enable Pick Random Tiles
In the Tile Palette, select several cells from the palette, ensuring that at least one selected cell is empty
In the Tile Palette Brush Pick overlay (the button with the eyedropper and star icon it the Tile Palette window), save the current brush pick
Repeat 5-8 steps several times to create multiple saved Tile Palette Brush Picks
In the Tile Palette Brush Pick overlay, select one of the saved Random Brush Picks
Move the cursor over the Tilemap in the Scene view without painting
Observe the Console
Actual result: Console throws “InvalidCastException: Specified cast is not valid” followed by “GUI Error: You are pushing more GUIClips.” than you are popping
Expected result: Hovering over the scene tilemap with a saved Random Brush pick containing empty cells should not produce console errors
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Note: The issue only reproduces when the saved Random Brush Tile Palette Brush Pick contains empty cells. The issue does not reproduce when the saved brush pick contains only tile cells.
Prioritise and Follow this issue
Have a workaround or additional info about this issue?