Search Issue Tracker
Fixed in 7.2.0
Votes
1
Found in [Package]
7.1.1
Issue ID
1190606
Regression
Yes
View Dir node plugged into Vertex Position creates error: undeclared identifier 'GetWorldSpaceNormalizeViewDir'
First reproduced in SRP version 7.1.2 (release)
Reproduces in 7.1.1
Also reproduces on SRP github master (149c704197)
Does not reproduce in 7.0.1
Reproduction steps:
1. Use a project with Shadergraph and Universal RP
2. Create a PBR shader (or unlit shader)
3. Create a "View Direction" node
4. Plug it into position
Expected result: the shadergraph still compiles
Actual result: the shadergraph fails to compile with error: Shader error in 'PBR Master': undeclared identifier 'GetWorldSpaceNormalizeViewDir' at line 721 (on d3d11)
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Tomatech
Mar 16, 2020 22:30
This has not been fixed in 7.2
rthom
Feb 13, 2020 19:00
Error also appears when view direction node is plugged into Vertex normal input of PBR master node in URP in unity 2019.3.0f6
Haeferlkaffee
Feb 02, 2020 23:42
This error still appears in Unity 2019.3.0f6