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
- Crash on __pthread_kill when initializing Vuplex WebView while entering the Play Mode
- Crash on FindSurface when adding a custom Renderer Feature to a 2D Renderer Data Asset
- [Android] [Vulkan] [UI Toolkit] Application crashes when the device is rotated when it has UI Toolkit TextField on Vulkan devices
- Crash on DualThreadAllocator<DynamicHeapAllocator>::TryDeallocate when opening a specific project
- Crash on memset_repstos when pressing a UI button while in Play Mode
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.