Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2020.3
2020.3.21f1
2021.2
2022.1
2022.2
Issue ID
1377259
Regression
No
Tiles are rendered inconsistently with the "Chunk" Tilemap Renderer Mode when Sprites are packed into the "Sprite Atlas"
Reproduction steps:
1. Open the user's attached "TilemapRepro.zip" project
2. Open the "SampleScene" Scene
3. See that the tile Sprites are packed into the Sprite Atlas at Assets > 2D assets > Isometric Tiles Base > Atlas_ISO
4. Select the "Tilemap" GameObject in the Hierarchy
5. In the Inspector change Tilemap Renderer Mode to "Chunk"
6. Observe the Scene view
Expected result: Tiles are rendered consistently
Actual result: Tiles are rendered inconsistently
Reproducible with: 2019.4.36f1, 2020.3.28f1, 2021.2.10f1, 2022.1.0b5, 2022.2.0a3
Notes:
- Issue is also reproducible in Player
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
In the manual page at https://docs.unity3d.com/Manual/Tilemap-Isometric-RenderModes.html, for a Tilemap with a Grid Layout of Isometric Z as Y, the TilemapRenderer mode needs to be set to Individual with the Transparency Sort Axis set correctly. Using the TilemapRenderer Chunk mode will not result in correct sorting in the Tilemap and other Renderers.
Here is the relevant portion of the manual page:
Custom Axis Sorting Mode for a Z as Y Tilemap in Individual Mode
To correctly sort and render Tile Sprites on an Isometric Z as Y Tilemap, the Transparency Sort Axis must be set to a Custom Axis. First set the Renderer Mode to ‘Individual Mode’ and go to to Edit > Settings > Graphics.
Set Transparency Sort Mode to Custom Axis, and set its Y-value to –0.26. Refer to the page on Creating an Isometric Tilemap for more information about the Transparency Sort Axis settings.