Search Issue Tracker
Won't Fix
Votes
6
Found in
2018.4
2019.4
2020.3
2021.1
2021.1.5f1
2021.2
Issue ID
1332632
Regression
No
Masks generated from Images with ASTC compression contain artifacts
Reproduction steps:
1. Open attached project "Case_1332632" and load Scene "SampleScene"
2. Switch the Build Platform to iOS
3. Observe the Game View
Expected result: Shape of the Mask created by the "Mask" GameObject matches the Sprite that it uses
Actual result: The generated Mask contains artifacts
Reproducible with: 2018.4.34f1, 2019.4.25f1, 2020.3.6f1, 2021.1.5f1, 2021.2.0a15
Notes:
- The project contains 2 Sprites with the ASTC compression, both reproduce the issue
- All ASTC Compressions (excluding ASTC HDR) produce the artifacts
- Artifacts were always there, however, they become much more noticeable between 2020.3 and 2021.1
-
Vince-Chimp
May 25, 2021 18:30
Jezus christ how is acceptable? It even happens on pretty much default settings and on android. Making sprite packing completely unusable.
-
KristapsAuzins
May 11, 2021 08:31
Fix this!
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (2022.1.X):
Some texture compression will leave artifacts in some pixels. As we are clipping in the shader we clip fragments when alpha is close to 0 (< 1/256 here). There is not much we can do to correct this. Turning off the texture compression or finding a different algorithm is the correct solution.