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
- “Error in Shader Graph Assets/Samples/Shader Graph/17.1.0/Production Ready Shaders/Lit/URPLit.shadergraph: Graph is generating too many variants…” error is thrown after importing Shader Graph Samples
- ComputeShader cannot access the depth element of RenderTexture targeted by an HDR camera
- Search in the Console window highlights wrong text when text contains HTML attributes
- Particle System doesn't always play when ParticleSystem.Play() is called
- Build Profiles: The vertical and horizontal window lines are different colors and this is not consistent with the other engine windows
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.