Search Issue Tracker
Active
Votes
8
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
- Usage of Adaptive Probe Volumes throws a lot of IndexOutOfRangeException and Assertion Failed errors
- Prefab overrides don't recover missing managed references
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
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