IndexOutOfRangeException thrown if Tileset is switched on painted Tilemap #763
Labels
Bug
It's broken and should be fixed
Good First Issue
Good opportunity for new contributors
Help Wanted
Contributions especially appreciated
Tilemaps
Area: Tilemaps core / editor plugins
Milestone
Summary
An IndexOutOfRange exception is thrown if the selected Tilemap's Tileset is switched. This exception only occurs if the Tileset has been painted on with Tiles that have a higher index than the new Tileset's maximum index. I also noticed that sometimes the tile pallette is not updated with the new Tileset.
How to reproduce
Workaround
Analysis
Tile.cs:291
when in theUpdateAutoTileCon
methodThe text was updated successfully, but these errors were encountered: