Search Issue Tracker

Fixed

Fixed in 6000.1.0a9

Votes

0

Found in

2021.3.40f1

2022.3.38f1

6000.0.11f1

6000.1.0a7

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

  1. Resolution Note:

    Postponing; will batch forward port in the future.

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.