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
- GetCurrentAnimatorClipInfoCount() and GetNextAnimatorClipInfoCount() return 0 when animator is in transition
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
Resolution Note (fix version 13.1.1):
Fixed in Shader Graph 13.1.1