Search Issue Tracker
In Progress
Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X, 6000.2.X
Fix In Review for 6000.3.0a1
Votes
0
Found in
2022.3.58f1
6000.0.39f1
6000.1.0b7
6000.2.0a4
6000.3.0a1
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Text is unreadable when DLSS is applied to the Canvas with Render Mode set to World Space
- NullReferenceException errors appear in the Console when changing the values of Visual Effect Control Clip Events' Attributes
- Crash on TextCore::OTL_TableReader::GetOpenTypeLayoutTables when using Japanese Font as TMP Fallback
- TreeView.AddItem performance regression when opening EditorWindow
- Shadows are not visible in Player when using DX12 with Forward+ or Deferred+ rendering in URP
Resolution Note (fix version 6000.3.0a1):
Compressed texture atlases no longer produce invalid mipmaps for smaller atlas items by limiting the number of miplevels. This is based on the miplevel where the smallest atlas item is exactly one compression block large.
To work around potential GPU texture sampling performance issues: try grouping items of similar sizes together in different atlasses to limit the amount of atlas items with a fairly large smallest miplevel.