Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2020.3.X, 2021.1.X

Votes

1

Found in

2021.1.0a2

2021.1.1f1

2021.2

Issue ID

1327146

Regression

Yes

[Mobile] [Texture] Sprite corrupted or invisible in Atlas using certain dimension RGB(A) Compressed 5x5 or 10x10 block sprites

Texture

-

Reproduction steps:
1. Open project in "AtlasIssue.zip"
2. Set the platform to iOS (File -> Build Settings)
3. In the Project window select Sprite Atlas
4. In the Inspector window, press "Pack Preview"
5. Inspect the preview

Expected result: There are 2 Sprites packed, a green 128x128 and a red 130x130 square, both are clean, without artifacts
Actual result: Red 130x130 square sprite is corrupted (130x130 dimension is the culprit)

Reproducible with: 2021.1.0a2, 2021.1.4f1, 2021.2.0a13 (IMPORTANT TO READ NOTES BELOW)
Not reproducible with: 2018.4.34f1, 2019.4.24f1, 2020.3.5f1, 2021.1.0a1

Reproducible on Android and iOS platforms

Notes:
1. In versions 2021.1.0a2 - 2021.1.0a5 the 130x130 sprite is invisible and starting with 2021.1.0a6 it becomes corrupted, I am not sure if this is the same issue
2. This happens with RGB(A) Compressed ASTC, or RGB(A) Compressed ASTC HDR sprites that are 5x5 or 10x10, the corruptions are different

  1. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a16.2217

  2. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.8f1.2504

  3. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.18f1.979

Comments (1)

  1. ritesh_khokhani

    Jun 27, 2022 14:05

    fixed the issue after upgrading project to unity2021.3.5 LTS

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.