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
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
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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a16.2217
Resolution Note (fix version 2021.1):
Fixed in 2021.1.8f1.2504
Resolution Note (fix version 2020.3):
Fixed in 2020.3.18f1.979