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
- Crash on [NSApplication endModalSession:] when saving while Play Mode is loading
- Incorrect Preferred Height calculation when a single text line uses different Font Assets
- [ShaderGraph] Redo Collapse Nodes action does not fully collapse the Nodes
- [Ubuntu] Mouse cursor is set box select mode after exiting VFX Graph's Rename Context function
- Unrecognized identifier DECLARE_STACK_CB error is thrown when VirtualTexture Property is used with Custom RenderTexture target
This is a duplicate of issue #1190606