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
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
- White lighting artifact when a point light with a small emission range and "Hard Shadows" touches an object while a directional light with "Soft Shadows" and another point light are present
- 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
This is a duplicate of issue #1190606