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