Search Issue Tracker

Fixed

Votes

0

Found in

6000.0.56f1

6000.2.1f1

6000.3.0a5

Issue ID

UUM-114820

Regression

Yes

Creating a Node with a "Space" in Shader Graph throws a NullReferenceException when the Node was right-clicked in the Node Creation menu

-

How to reproduce:
1. Create a new Unity project
2. In the Project window, right-click -> Create -> Shader Graph -> Any Shader Graph
3. Open the created Shader Graph
4. Click "Space" to open the Node Creation menu -> Any section -> Any Node -> right-click the Node -> Press the "Space" to create it
5. Observe the results

Expected result: No errors are thrown
Actual results: NullReferenceException is thrown

Reproducible with: 6000.3.0a4, 6000.3.0a5
Not reproducible with: 6000.0.56f1, 6000.1.16f1, 6000.2.1f1, 6000.3.0a3

Reproducible on: Ubuntu 24, macOS Sequoia 15.5 (M1)
Not reproducible on: No other environment tested

First lines of error:
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.UIElements.VerticalVirtualizationController`1[T].ShouldDeferScrollToItem (System.Int32 index) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Collections/Virtualization/VerticalVirtualizationController.cs:249)
UnityEngine.UIElements.FixedHeightVirtualizationController`1[T].ScrollToItem (System.Int32 index) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Collections/Virtualization/FixedHeightVirtualizationController.cs:57)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.