Search Issue Tracker

Active

Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X, 6000.2.X

Votes

0

Found in

2022.3.58f1

6000.0.39f1

6000.1.0b7

6000.2.0a4

7000.0.0a20

Issue ID

UUM-97688

Regression

No

Texture2D.PackTextures causes mips 7-9 to turn pink/white when packed textures are of ASTC 4x4 compression

-

How to reproduce:
1. Open the “MipsBug.zip“ project
2. Open the “SampleScene“
3. Change the Platform to Android
4. Enter Play Mode
5. Select the “Terrain“ GameObject in the Hierarchy
6. Find and double-click the “Test Texture“ Texture field at the bottom of the Inspector
7. Change the Mip levels in the Preview in the Inspector
8. Observe the Preview

Expected result: All mips are rendered correctly
Actual result: mips 7-9 are rendered either in pink or white

Reproducible in: 2022.3.58f1, 6000.0.39f1, 6000.1.0b7, 6000.2.0a4

Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested

Notes:
- The Android platform has to be active for the images to be in ASTC 4x4 compression format
- After 2023.2.0a5, behaviour differs between the editor and the player: instead of mips 7-9 always being pink/purple, the mentioned mips become white in the editor exclusively.
- If empty space is left after packing, "background color" is the same as the color seen in mips 7-9.

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.