Steps to reproduce:
- Open the attached project
- Open the Test ShaderGraph
- Start dragging the Add node to the Edge of the screen (So the Graph starts panning)
- Right-Click while dragging the node
- Observe the Graph and Console windows
Actual results: NullReferenceExceptions are spammed in the Console window. Graph view freezes. If the Graph view window was maximised when the issue occurred, exiting the maximised mode renders the Graph view window in solid black
Expected results: No errors are thrown when right-clicking and dragging a node, and the Graph view window does not freeze
Reproducible with versions: 2022.3.74f1, 6000.0.70f1, 6000.3.11f1, 6000.4.0f1, 6000.5.0a9, 6000.6.0a1
Tested on (OS): Windows 11, macOS 26.3.1
Notes:
- The issue is less severe in older streams (2022.3/6.0). NullReferenceExceptions are still thrown, but the Graph view window does not freeze. Instead, it gets locked in a panning state that can be stopped if the node is re-selected