Search Issue Tracker

Fixed in 12.0.0

Votes

0

Found in [Package]

SRP Master (67cb89ac9e)

Issue ID

1328762

Regression

Yes

[Shadergraph] Using a Gradient property in a subgraph and using that subgraph in a shadergraph causes compile errors

Package: Shader Graph

-

Doesn't reproduce in 11.0.0 (Version: 2021.1.0b4.1811)
Reproduces in SRP Master (67cb89ac9e)

Repro steps:
1. Create a shadergraph and a subgraph
2. Create a "Gradient" property in the subgraph
3. Drag it onto the graph and plug it into a "Sample Gradient" node, plug that into the output
4. Drag the subgraph into the shadergraph
Expected result: the subgraph works
Actual result: the subgraph errors, if plugged into the stack, the shadergraph errors

  1. Resolution Note (fix version 12.0.0):

    We now validate property reference names to ensure the user can not generate a name that clashes with a reserved Shader Graph keyword.

Add comment

Log in to post comment