Search Issue Tracker

Active

Votes

0

Found in [Package]

14.0.6

15.0.3

16.0.1

Issue ID

SGB-525

Regression

Yes

Alpha Clip Threshold doesn't clip the object/is not visible in the Material preview and the Scene View when negative values are inputted

Package: Shader Graph

-

Reproduction steps:
1. Open the attached project “TestProject”
2. Open the “Assets/Scenes/MainScene.unity” scene
3. Select “Assets/Materials/NegativeAlpha.mat”
4. In the Inspector Window change the “Surface Inputs/HeightCutoff” value to any negative and then to positive values
5. Observe the changes in the material height in the Inspector Preview Window, and the “Cube” GameObject in the Scene

Expected result: The “NegativeAlpha” material and “Cube” GameObject height updates to match the inputs
Actual result: The “NegativeAlpha” material and “Cube” GameObject height remain constant in both Inspector Preview Window and Scene View when negative values are inputted

Reproducible with: 14.0.3 (2022.2.0a16), 14.0.6 (2022.2.5f1), 15.0.3 (2023.1.0b1), 16.0.1 (2023.2.0a9)
Not Reproducible with: 12.1.10 (2021.3.22f1), 14.0.3 (2022.2.0a15)
Could not test with: 10.10.1 (2020.3.44f1) (unable to upgrade “NegativeAlpha.mat”)

Reproducible on: Intel macOS 13.2

Note: The “Cube” GameObject” height updates only in the Game View when negative values are used.

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.