Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.3.X
Votes
1
Found in
2018.4.24f1
2018.4.28f1
2019.4
2020.1
2020.1.0a12
Issue ID
1284374
Regression
Yes
[Sprites] [iOS] PVRTC Format Atlas variant made from ASTC Format Master Atlas is stretched
Reproduction steps:
1. Open project in "AtlasVariantCompression.zip"
2. Go to Assets > Sprites > NonSquare folder
3. Create a new Sprite Atlas (master) and add "NS" Sprite for packing
4. Set Format to RGB(A) Compressed ASTC (any block) (option for iOS)
5. Pack preview and inspect the image
6. Create a new Sprite Atlas, set its type to Variant, and set its Master Atlas to the one you created in step 3
7. Change Format to RGBA Compressed PVRTC (any bit value) (option for iOS)
8. Pack preview and inspect the image
Expected result: Variant looks the same as Master in preview
Actual result: PVRTC Variant is stretched
Reproducible with: 2018.4.24f1, 2018.4.28f1, 2019.4.12f1, 2020.1.10f1, 2020.2.0a12, 2020.2.0b7 (2D Sprite 1.0.0)
Not reproducible with: 2018.4.23f1, 2020.1.0a11
1. Issue only happens when the Format of the variant is set to PVRTC and the Format of the master is set to ASTC
2. While testing this issue Editor crashes about 1/3 times
3. The issue does not seem to reproduce with other combinations of master/variant Formats
4. Not reproducible with Android PVRCT and ASTC Formats
4. Issue has been backported to 2018.4, 2019.4, 2020.1 streams
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
- Unable to change the Shadow Map resolution for lights via Inspector when 'preserveCachedShadow' is enabled
- Adaptive Probe Volumes are not loaded when Adaptive Light Probes are exported via Asset Bundles and opened on another project
- Sprites are not present in Player when built
- TrackPropertyValue callback stops being called when modifying PropertyField
- [Android] [Particle System] "ParticleSystem.GeometryJob" sometimes takes up to ~20 ms in the worker thread when initializing 5 Particle Systems
Resolution Note (fix version 2021.1):
Fixed by changing PVRTC variant atlas size adjustment to use padding rather than stretching when the master atlas is not square and the variant requires a square texture. This was the prior behaviour before a regression caused the atlases to be stretched.
If the master atlas is not square, the variant will contain a transparent area instead of stretching
Fixed in: 2021.2.0a4.739
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0b10.2062
Resolution Note (fix version 2020.3):
Fixed in 2020.3.1f1.56
Resolution Note (fix version 2019.4):
Fixed in 2019.4.23f1 (4ab69048f7b8)