Search Issue Tracker
Fixed in 9.0.0-preview.33
Votes
0
Found in [Package]
9.0.0-preview.13
Issue ID
1300901
Regression
No
Undeclared identifier 'GetWorldSpaceNormalizeViewDir' error appears when VFXShaderGraph is using ShaderGraph with Fresnel node
Reproduction steps:
1. Open the attached "case_1300901.zip" project and Scenes/SampleScene scene
2. In the Project window, open Test.vfx
3. In the Output Particle Mesh block, Shader Graph field, assign Test.shadergraph
4. Observe the Console window
Expected result: There are no errors
Actual result: Error "undeclared identifier 'GetWorldSpaceNormalizeViewDir'" appears
Reproducible with: 7.3.1 - 9.0.0-preview.13 (2019.4.18f1, 2020.2.2f2)
Not reproducible with: 9.0.0-preview.33 - 11.0.0 (2020.2.2f2, 2021.1.0b2)
Could not test with: 2018.4.30f1 (errors when downgrading Visual Effect Graph package)
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
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
Resolution Note (fix version 9.0.0-preview.33):
Fixed in: Visual Effect Graph 9.0.0-preview.33