Search Issue Tracker
Active
Votes
9
Found in
2021.2.0a2
2022.2.0a4
Issue ID
1399442
Regression
No
[VFX Graph] undeclared identifier 'alphaThreshold', ignoring duplicate keyword line 'multi_compile_fog' when VT is exposed in SG
How to reproduce:
1. Import the attached package
2. Open Shader Graph that is assigned to VFX
3. Add Virtual Texture property and save ShaderGraph
Expected result: Only warning: blackboard properties in Shader Graph are currently not supported in Visual Effect shaders.
Actual result: Undeclared identifier 'alphaThreshold', ignoring duplicate keyword line 'multi_compile_fog __ FOG_LINEAR FOG_EXP FOG_EXP2' are also thrown to the console
Reproducible with: 2022.2.0a4 (14.0.1)
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
- Color property '_BaseColor' missing
- Point Light source stops lighting when moved out of camera frustum in Player while having 2 directional lights in scene present, and a fog enabled by script
- Sky does not get rendered when 'CameraRelativeRendering' is disabled
- Dropdown UI elements have their Content misplaced when nested inside a Prefab containing a root object with a Canvas Component
- “'UnityMetaVertexPosition': implicit truncation of vector type" Shader warning when compilating URP ShaderGraph shaders
sinedsem
Jul 04, 2022 18:04
Plus one for useless warning " Ignoring duplicate keyword line '#pragma multi_compile_fog __ FOG_LINEAR FOG_EXP FOG_EXP2'", very annoying