Search Issue Tracker
Fixed in 13.1.1
Fixed in 13.0.0
Votes
0
Found in [Package]
12.0.0
Issue ID
1311272
Regression
No
Shader Graph Scene Depth Node doesn't work when using Orthographic Camera
How to reproduce:
1. Open the attached project
2. Open scene Scenes/SampleScene
3. In the Hierarchy, double-click the GameObject "Quad"
4. Position the Scene view Camera so that the Quad is observed with the Sphere behind the Quad
5. In the Hierarchy, select the GameObject "Sphere"
6. Move the Sphere slightly towards the Scene view Camera while observing the Scene view and the Game view
Expected result: the rainbow colors of the Quad indicate the position of the Sphere behind it, while also changing according to depth
Actual result: the Quad is a single solid color that does not reflect the position of the Sphere behind it
Reproducible with: 7.7.1 (2019.4.33f1), 10.7.0 (2020.3.24f1), 12.1.0 (2021.2.1f1), 13.1.0 (2022.1.0a15)
Not reproducible with: 12.1.1 (2021.2.2f1), 12.1.2 (2021.2.5f1)
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
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
- Opening a dropdown on a small screen results in its instant closing when mouse cursor is pressed where the dropdown is going to be opened
- Only "ArgumentNullException: Value cannot be null" is displayed instead of all the actual errors when opening a project with numerous compilation errors
- MultiColumnListView and MultiColumnTreeView do not change selection on first input when focus is set by code
- SerializedProperty.DataEquals is returning false when SerializedProperty.EqualContents return true
Resolution Note (fix version 13.1.1):
Fixed in Shader Graph 13.1.1