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"

2D

-

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

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.