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)
Comments (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
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
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