Search Issue Tracker
In Progress
Fix In Review for 2022.3.X, 6000.0.X, 6000.3.X, 6000.4.X
Fixed in 6000.5.0a2
In Progress in 6000.5.X
Votes
1
Found in
2022.3.62f1
6000.0.49f1
6000.3.0b5
6000.4.0a3
6000.5.0a1
Issue ID
UUM-105298
Regression
No
"Scene Depth Difference" Node has an input Port which is called Position WS, directly referring to the World Space Position, when only the View Space Position can reflect if the object's depth is below or above the Plane
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/ShaderGraphBug.unity” Scene
3. Open “/Assets/Shaders/SceneDepthDifference.shadergraph“
4. Observe that the “Scene Depth Difference” Node has an input Port named Position WS
5. Observe the Capsule in the Scene view
6. Select “/Assets/Materials/Capsule.mat“ in the Project window
7. In Inspector, change "Position Input Space" from "View" to "World"
8. Observe that the Capsule is all green, even below the Plane
Expected result: “Scene Depth Difference” Node has a Position Port, which does not refer to World Space
Actual result: “Scene Depth Difference” Node has an input Port named Position WS, which stands for World Space position
Reproducible with: 2022.3.62f1, 6000.0.49f1, 6000.1.3f1, 6000.2.0b1
Reproducible on:
Play Mode
Windows Standalone Player
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Note:
- In Shader Graph, the Scene Depth Difference node asks for the World Space position ("Position WS"), and provides it by default if the input is not connected
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Add comment