Search Issue Tracker

Fixed in 2018.1.X

Fixed in 2017.2.X, 2017.3.X

Votes

0

Found in

2017.2.0b10

Issue ID

951514

Regression

No

Using Tilemap.ClearAllTiles() some tiles are left behind until Unity recompiles or saves project

2D

-

To reproduce:

1. Download attached project "2DAdventureGame.zip" and open in Unity
2. Open "Test" scene
3. Click "MapGenerator" game object
4. In Inspector window, in "Map Generator" script you will see "Clear Map" button - press it

Expected Result: All generated Tiles will disappear
Actual Result: Some Tiles will disappear, but not all of them

Notes:
- This issue appears on Windows and OSX
- Workaround: If you will compile project or save it, then Tiles will disappear

Reproduced on Unity 2017.2.0f1 and 2017.3.0b1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.