Search Issue Tracker
Fixed
Fixed in 6000.4.0b6, 6000.5.0a6
Votes
0
Found in
6000.0.65f1
6000.3.3f1
6000.4.0b3
6000.5.0a4
Issue ID
UUM-131625
Regression
No
"Shader error in 'Sub Graphs/Master..." error when selecting invalid slot types for Sub Graph Output node
Steps to reproduce:
- Create a new Unity project using a 3D Universal Template
- Create and open a Sub Graph (Assets > Create > Shader Graph > Sub Graph)
- Select the Output node
- In the Graph Inspector, switch to the Node Settings tab
- Select the dropdown next to "Out_Vector4"
- Choose "Texture 2D", "Texture 2D Array", "Texture 3D", "Cubemap" or "Gradient" (all produce the error)
- Observe the Console
Actual results: "Shader error in 'Sub Graphs/Master': cannot convert from 'int' to 'struct SurfaceDescription' at line 174 (on d3d11)" error is shown
Expected results: Invalid selection options should be greyed out and not selectable
Reproducible with versions: 2023.1.0b1, 6000.0.65f1, 6000.3.3f1, 6000.4.0b3, 6000.5.0a4
Tested on (OS): Windows 11, macOS 26.1 (M1 Pro)
Notes:
- The same error then still gets shown randomly, even after the SubGraph is deleted
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 Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- Module installation fails with "Download failed: Validation Failed" errors when using beta.2 Hub version
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Shader Graph Category dropdown cannot be expanded/collapsed when clicking on the text
- Different text alignment in the column header in Entities "System" window
Resolution Note:
Fixed in 6000.5.0a6
Resolution Note (fix version 6000.5.0a6):
Fixed in 6000.5.0a6
Resolution Note (fix version 6000.4.0b6):
Fixed in 6000.4.0b6