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
- Reflection Probe “Probe Scene Editing Mode:” text is barely visible
- [HDRP] Game view doesn’t refresh after changing Camera Background Type until mouse moves over it
- Some Shaders appear twice in Material Shader selection menu
- Editor freezes with a StackOverflowException when certain asset types are assigned to a managed component in a SubScene via AddComponentObject
- Text Script Importer Reference button links to a Missing Page when clicking the Reference Button in the Inspector
Add comment