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
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
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
- "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
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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.