Search Issue Tracker
By Design
Votes
2
Found in [Package]
preview-1.1.1, 7.1.6
Issue ID
1199400
Regression
No
Main Preview in Shader Graph appears different from Material in Game View when using PBR Shader Graph "Scene Depth" Node
How to reproduce:
1. Open the attached project's "case_1199400-Project.zip" Scene labeled "SampleScene"
2. Open the "New Shader Graph" in Assets folder from the Project Window
3. Inspect the Main Preview in Shader Graph
4. Inspect the Game View
Expected result: Material in Game View and Shader Graph Main Preview look the same
Actual result: Material differs in Game View and Shader Graph Main Preview
Reproducible with: 2018.4.13f1 (preview-.1.1.1, 4.1.0), 2019.2.15f1 (6.9.0, 6.9.2), 2019.3.0f1, 2020.1.0a15 (7.1.1, 7.1.6)
Couldn't test with: 2017.4.35f1 (Package Manager does not exist)
Note: GameObject with PBR Shader Graph Material which has Scene Depth Node connected to Master Node's Alpha channel is rendered behind everything else
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
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
- HDRP project doesn't render in standalone player when using High stripping
Resolution Note:
There is no idea of any scene data in the preview window - the current scene depth is drawn to show that the node is in fact doing something, but it is not expected to match the game view directly. We would like to have better messaging in the future that scene data cant be reflected in the ShaderGraph previews, but works as expected for now.