Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
8.0.0
Issue ID
1190116
Regression
No
Shader Graph: Shader error in 'PBR Master': undeclared identifier 'GetWorldSpaceNormalizeViewDir
Steps to reproduce:
1. Open project "Case_1190116" from the attached link
2. Navigate to Project -> Shader and open "Water General.shadergraph"
3. Notice the errors in the console and in the ShaderGraph Inspector
Expected results: No errors are displayed
Actual results: An error is displayed in the console
"undeclared identifier 'GetWorldSpaceNormalizeViewDir'
Compiling Vertex program with _ADDITIONAL_LIGHTS _MAIN_LIGHT_SHADOWS
Platform defines: UNITY_NO_DXT5nm UNITY_ENABLE_REFLECTION_BUFFERS UNITY_NO_CUBEMAP_ARRAY UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 SHADER_API_DESKTOP UNITY_HARDWARE_TIER3 UNITY_LIGHTMAP_DLDR_ENCODING"
Reproducible with: 2019.3.0b7(8.0.0), 2020.1.0a9(8.0.0)
Note: 2019.2 and lower versions brake the packages in the project
Shader Graph: Shader error in 'PBR Master': undeclared identifier 'GetWorldSpaceNormalizeViewDir
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
This is a duplicate of issue #1190606