Search Issue Tracker
By Design
Votes
1
Found in
2018.4
2019.4
2019.4.0f1
2020.1
2020.2
Issue ID
1256046
Regression
No
2D Tile's texture / sprite color is not updated when GetTileData color is changed
How to reproduce:
1. Open attached project "Chessers.zip" and scene "SampleScene"
2. Enter Play mode
3. Observe the two textures that are being switch every frame
Expected result: one of the tilemap tile texture is blue, other is yellow
Actual result: both tilemap tile textures are blue
Reproducible with: 2018.4.24f1, 2019.4.2f1, 2020.1.0b14, 2020.2.0a15
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- Crash on dynamixel_sdk.dynamixel:groupSyncReadTxRxPacket when entering Play Mode after updating path to Dynamixel SDK in script
- NullReferenceException is thrown when changing the Inspector preview selection
Resolution Note:
The following can be added to GetTileData:
tileData.flags = TileFlags.LockColor;
This flag will lock the color to that passed in by the Tile asset. Otherwise, the color set previously on the Tilemap will take precedence.