Search Issue Tracker

Active

Under Consideration for 6000.4.X, 6000.5.X

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

ShaderGraph

-

Steps to reproduce:

  1. Create a new Unity project using a 3D Universal Template
  2. Create and open a Sub Graph (Assets > Create > Shader Graph > Sub Graph)
  3. Select the Output node
  4. In the Graph Inspector, switch to the Node Settings tab
  5. Select the dropdown next to "Out_Vector4"
  6. Choose "Texture 2D", "Texture 2D Array", "Texture 3D", "Cubemap" or "Gradient" (all produce the error)
  7. 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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.