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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
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.