Search Issue Tracker

Fixed

Fixed in 2021.3.32f1, 2022.3.11f1, 2023.1.17f1, 2023.2.0b13, 2023.3.0a6

Votes

0

Found in

2021.3.28f1

2022.3.4f1

2023.1.3f1

2023.2.0a22

2023.3.0a1

Issue ID

UUM-41708

Regression

No

[Mobile] Windows Editor shows Gradient as single Color when Android Platform is selected

--

-

Steps to reproduce:
1. Open the attached user's project "TestGradients.zip"
2. Switch platform to Android
3. Open SampleScene
4. Select "GradientBad" GameObject in the Hierarchy
5. Observe the visual preview in the Inspector
6. Go to the "Gradient_DoesNotWork" Texture in the Project Window and change the compression format from Automatic to RGBA 32 Bits in the Import Settings
7. Select "GradientBad" GameObject
8. Observe the visual preview in the Inspector (should be showing a gradient)

Expected result: The gradient in the Preview Window is displayed correctly *and fully*
-Actual result: The gradient is displayed as a single color-
*Actual result: Only a quarter of the gradient is shown _(and for Gradient_DoesNotWork this just happens to be a part that is, or looks like, a single color)_*

Reproducible on: 2021.3.28f1, 2022.3.4f1, 2023.1.2f1, 2023.2.0a22
*-Not reproducible on: 2023.2.0a21- this still reproduces! BEWARE: your project preferences might have "compress on import" disabled*
> If that's the case: re-enable compress on import, and re-import Gradient_DoesNotWork which is now compressed to ASTC6x6

Environment Tested on: Windows 10

Notes:
-This discrepancy only displays in Windows Editor and does not affect the MacOS Editor or Android builds which all show the gradient as expected.
-Issue only reproduces on Direct3D11 and Direct3D12 Editor Graphics API

  1. Resolution Note (fix version 2023.3.0a6):

    Fixed on-the-fly decompression of ASTC textures in Editor to handle textures smaller than 4 pixels wide or high.

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.