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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
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