Search Issue Tracker
Active
Votes
0
Found in
2022.3.56f1
6000.0.34f1
6000.1.0b2
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
- Prefab Variant tab flickers when expanding and collapsing the "Children" field
- "background-repeat" breaks when using Sprite slicing in UITK
- Scripts are only loaded a second time on import after renaming all the associated files (.cs, meta, class) when the Editor is closed
- Closing the Prefab Variant Menu results in NullReferenceException
- Audio Reverb Zone still produces sound when the Audio Source volume is 0
Add comment