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

Package: Shader Graph

-

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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.