Search Issue Tracker
Fixed in 7.1.1
Votes
0
Found in [Package]
5.1.0
Issue ID
1167144
Regression
No
[ShaderGraph] WorldSpacePosition and WorldSpaceViewDirection in shader code are not updated correctly
To reproduce:
1) Open the attached project
2) Open VertexOffset.shadergraph
3) Right-click PBR Master node, click Copy Shader
4) Paste it out in a code editor
Result: "WorldSpacePosition" and "WorldSpaceViewDirection" are not updated after WorldSpacePosition is calculated. They are still the value before displacement and passed to fragment program to calculate lighting.
Reproduced in 2019.1.0b1, 2019.1.9f1, 2019.3.0a9
Reproduced in ShaderGraph 5.1.0 and 6.5.2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inspector elements are rendered twice when the script component is added via drag-and-drop while the HideFlags.HideInInspector property is set
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
Add comment