Search Issue Tracker


Fixed in 2023.2.4f1, 2023.3.0b1, 7000.0.0a1



Found in




Issue ID




Secondary Textures appear white when sampling them from the Sprite Atlas in Tilemaps in a Shader



Reproduction steps:
1. Open the attached “ASDQWE” project
2. Open the “Assets/Scenes/testSceneForBugReporting.unity” Scene
3. Enter the Play Mode
4. Observe the upper textures in the Game View

Expected results: The textures are yellow
Actual result: The textures are white

Reproducible with: 2023.1.15f1, 2023.2.0b11, 2023.2.0a7
Could not test with: 2021.3.30f1 (Multiple “error CS1061: 'Sprite' does not contain a definition for 'GetSecondaryTextureCount'“ errors and “error CS1501: No overload for method 'Create' takes 9 arguments” compilation error), 2022.3.10f1 (Assets could not migrate correctly)

Reproducible on: Intel macOS 13.5
Not reproducible on: No other environment tested


* The issue is not reproducible if Tilemap Renderer Mode is set to “Chunk”
* The issue is not visible in the Scene View

  1. Resolution Note (fix version 2023.3.0b1):

    Fix for this issue is available on Unity 2023.3.0b1 and above

  2. Resolution Note (fix version 2023.2.4f1):

    Fix for this issue is available on Unity 2023.2.4f1 and above

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.