Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X

Votes

0

Found in

2021.3.40f1

2022.3.38f1

6000.0.11f1

7000.0.0a1

Issue ID

UUM-75936

Regression

No

Error "A Sub Graph must have at least one output slot" is logged in Console when converting Nodes to Sub-graphs

--

-

*Steps to reproduce:*
# Create or Open any Project with Shadergraph Installed
# Create a Shader Graph
# Right click to create a new Node
# Right click the created Node and select "Convert To" > "Sub-graph"
# Observe the Console

*Actual results:* Error "Sub Graph at Assets/New Shader Sub Graph.shadersubgraph has 1 error(s), the first is: Validation: A Sub Graph must have at least one output slot
UnityEditor.EditorApplication:Internal_CallDelayFunctions ()" is logged in the Console

*Expected results:* Since the created Sub Graph needs to have atleast a single output slot and the User can only create a Float type output slot when clicking the "+" icon in the Output Panel by default, the created Sub-graph should have a single default (float type) Input created in the Output panel

*Reproducible with versions:* 2021.3.40f1, 2022.3.38f1, 6000.0.11f1

*Tested on (OS):* Windows 10/11

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.