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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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