Search Issue Tracker

Fixed in 12.0.0

Votes

1

Found in [Package]

11.0.0

Issue ID

1299912

Regression

Yes

VFX Graph shows "undeclared identifier" error when SamplerState node is connected to SampleTexture2D in VFX Shader Graph

Package: Visual Effect Graph

-

Reproduction steps:
1. Openattached "case_1299912.zip" project and Scenes/SampleScene scene
2. Open the Scene view
3. In the Hierarchy window, double click on VisualEffect
4. Observe the Particles and Console window

Expected result: Particles are rendered and there are no errors
Actual result: Particles are not rendered and the error occurs

Reproducible with: 10.0.0-preview.27 - 11.0.0(2020.2.0f1, 2021.1.0a10)
Could not test with: 2018.4.29f1, 2019.4.17f1, 2020.1.17f1(Could not downgrade)

Note: The issue is not reproducible when SamplerState node is disconnected from SampleTexture2D

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.