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

Visual Effects

-

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)

  1. 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

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.