Search Issue Tracker

Fixed in 7.4.X

Votes

0

Found in [Package]

7.1.5, 7.2.1

Issue ID

1203333

Regression

No

[Shader Graph] Shader's "Scene Depth" Node stops working when a Shader Keyword is added

Package: Shader Graph

-

How to reproduce:
1. Open the attached project's Scene labeled "SampleScene"
2. Inspect the Quad in front of Camera
3. Open "ShaderBug" Graph in the Project Window (Assets->ShaderBug)
4. In "ShaderBug" Graph, add a Shader Keyword
5. Click "Save Asset"
6. Switch back to the Scene View
7. Inspect the Quad again

Expected result: GameObject's Material looks the same
Actual result: GameObject's Material's Scene Depth seems to not work

Reproducible with: 2019.3.2f1 (7.1.8, 7.2.1), 2020.1.0a24 (7.1.7, 7.2.1)
Couldn't test with: 2017.4.35f1 (Package Manager does not exist), 2018.4.13f1, 2019.2.15f1 (Shader Graph does not have Keywords)

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.