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
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
- Crash on ModelImporter::ImportSkinnedMesh when disabling "Strip Bones" on a specific FBX model
- WebGL Development builds ignore the "Compression Format" setting when using "Gzip" compression
- [tvOS] Project crashes on startup on Apple TV simulator (both X86_64 and ARM64 architectures)
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.