Search Issue Tracker
Fixed
Fixed in 6000.1.0b9, 6000.2.0a6
Votes
0
Found in
2022.3.56f1
6000.0.34f1
6000.1.0b2
6000.2.0a1
Issue ID
UUM-92623
Regression
No
Performing Undo Redo for Convert to Property action creates a ghost Node
Steps to reproduce:
- Open attached project
- Open PropertyUndoRedo ShaderGraph file
- Right-click on the Float Node
- Select the Convert to Property option
- Undo Redo the action
Actual results: Duplicate Node is created in the Graph. Trying to delete it throws a null pointer exception
Expected results: Node is converted to Property using the Redo without any duplicates
Reproducible with versions: 2022.3.56f1, 6000.0.34f1, 6000.1.0b2
Tested on (OS): macOS 15.2
Notes:
- Does not happen when using VFX Graph
Full error:
- InvalidOperationException: Cannot remove a node that doesn't exist.
UnityEditor.ShaderGraph.GraphData.RemoveNodeNoValidate (UnityEditor.ShaderGraph.AbstractMaterialNode node) (at ./Library/PackageCache/com.unity.shadergraph@724892c815a7/Editor/Data/Graphs/GraphData.cs:1030)
UnityEditor.ShaderGraph.GraphData.RemoveElements (UnityEditor.ShaderGraph.AbstractMaterialNode[] nodes, UnityEditor.Graphing.IEdge[] edges, UnityEditor.ShaderGraph.GroupData[] groups, UnityEditor.ShaderGraph.StickyNoteData[] notes, UnityEditor.ShaderGraph.Internal.ShaderInput[] inputs) (at ./Library/PackageCache/com.unity.shadergraph@724892c815a7/Editor/Data/Graphs/GraphData.cs:1163)
UnityEditor.ShaderGraph.Drawing.MaterialGraphView.DeleteSelectionImplementation (System.String operationName, UnityEditor.Experimental.GraphView.GraphView+AskUser askUser) (at ./Library/PackageCache/com.unity.shadergraph@724892c815a7/Editor/Drawing/Views/MaterialGraphView.cs:1055)
UnityEditor.Experimental.GraphView.GraphView.DeleteSelectionOperation (System.String operationName, UnityEditor.Experimental.GraphView.GraphView+AskUser askUser) (at /Users/bokken/build/output/unity/unity/Modules/GraphViewEditor/Views/GraphView.cs:1177)
UnityEditor.Experimental.GraphView.GraphView.DeleteSelectionCallback (UnityEditor.Experimental.GraphView.GraphView+AskUser askUser) (at /Users/bokken/build/output/unity/unity/Modules/GraphViewEditor/Views/GraphView.cs:1106)
UnityEditor.Experimental.GraphView.GraphView.<BuildContextualMenu>b__156_6 (UnityEngine.UIElements.DropdownMenuAction a) (at /Users/bokken/build/output/unity/unity/Modules/GraphViewEditor/Views/GraphView.cs:723)
UnityEngine.UIElements.DropdownMenuAction.Execute () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/DropdownMenu.cs:224)
UnityEditor.UIElements.EditorMenuExtensions+<>c__DisplayClass0_0.<PrepareMenu>b__0 () (at /Users/bokken/build/output/unity/unity/Editor/Mono/UIElements/EditorMenuExtensions.cs:35)
UnityEditor.GenericMenu.CatchMenu (System.Object userData, System.String[] options, System.Int32 selected) (at /Users/bokken/build/output/unity/unity/Editor/Mono/GUI/GenericMenu.cs:135)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
Add comment