Steps to reproduce:
- Open the "BiRP.zip" project
- Open the "New Graph"
- Create a new variable and instantiate it in the canvas
- Box-select the variable in the canvas
- Delete it
- Box-select anything in the canvas
- Observe the Console
Actual results: "NullReferenceException" is thrown
Expected results: Nothing is thrown
Reproducible with versions: 6000.5.1f1, 6000.6.0a4, 6000.6.0a7
Not reproducible with versions: 0.4.0-exp.2 (6000.3.18f1), 6000.4.12f1, 6000.6.0a3
Tested on (OS): Windows 11 Pro (25H2)
Notes:
- Works with multiple nodes and one alike
- Part of the error reads "NullReferenceException: Object reference not set to an instance of an object
Unity.GraphToolkit.Editor.GraphElement.ShouldBeHighlighted"