Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.3.35f1

2022.3.19f1

2023.2.9f1

2023.3.0b6

Issue ID

UUM-62725

Regression

No

Extreme artifacting on a Texture when Texture "Compression" is set to "High-Quality"

--

-

How to reproduce:
1. Open the “HQTexCompBug“ project
2. Open the “Bug” scene
3. Observe the “Plane” GameObject in the Scene view
4. In the Project window locate and select the “mask.bandana.color” Asset
5. In the Inspector window change the “Compression” field from “High Quality” to any other setting
6. Repeat step 3

Expected result: The “Compression” does not change the texture of the GameObject
Actual result: The “Compression” changes the texture of the GameObject

Reproduced with: 2021.3.35f1, 2022.3.19f1, 2023.2.9f1, 2023.3.0b6

Reproduced on: Windows 11, macOS 13.5.2 (M1)
Not reproduced on: No other environment tested

Notes:
1. Reproducible in the Player → the “Main Camera” GameObject must be rotated and moved to face the “Plane” GameObject
2. Reproducible in a new project with the same Assets

  1. Resolution Note:

    Thank you for reporting a bug to Unity.

    These are compression artefacts introduced by the BC7 encoder where it decides to code an alpha value of 1 as ~0.99608f. Unity offers two BC7 encoders. Both appear to have this behavior, with ISPC showing it slightly less than BC7e. With a cut off shader, with a cut off set to 1.0, any value not being exactly 1.0 gets transparent. The workaround is to round the alpha or take a cut off value lower than 1 into consideration, or to use a different coding format. Unfortunately, we are not able to solve this in a timely manner. This involves changes to ISPC BC7 encoder and the BC7e encoder.

    We have reviewed the issue carefully, and in this case the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way, or that a workaround for the bug may be available.

    Our ISS customers’ bug reports have a higher weight than normal, and this is accounted for in the decision. We hope to be able to work with you on finding a suitable workaround in the short term. Today, however, we will be closing this case.

    Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.

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.