Copyright © 2026 Unity Technologies
Steps to reproduce:
1. Create new Unity project using Universal 3D Template
2. Open Render Graph Viewer window (Window > Analysis > Render Graph Viewer)
3. Enter Play Mode
4. Hover mouse on the grid in Render Graph Viewer
5. Observe the Console window
Actual results: “NullReferenceException: Object reference not set to an instance of an object” errors are spammed in the Console window
Expected results: No errors are spammed in the Console window
Reproducible with versions: 6000.6.0b1, 6000.6.0b5, 6000.7.0a3
Not reproducible with versions: 6000.5.4f1, 6000.6.0a7
Tested on (OS): macOS Tahoe 26.5.2 (M1)
NullReferenceException: Object reference not set to an instance of an object UnityEditor.Rendering.RenderGraphViewer.GetGroupedPassIds (System.Int32 passId) (at ./Library/PackageCache/com.unity.render-pipelines.core@6096f8ccfd4b/Editor/RenderGraph/RenderGraphViewer.cs:649) UnityEditor.Rendering.RenderGraphViewer.SetPassHighlight (System.Int32 visiblePassIndex, UnityEditor.Rendering.RenderGraphViewer+PassHighlightOptions highlightOptions) (at ./Library/PackageCache/com.unity.render-pipelines.core@6096f8ccfd4b/Editor/RenderGraph/RenderGraphViewer.cs:551) UnityEditor.Rendering.RenderGraphViewer.HoverPass (System.Int32 visiblePassIndex, System.Int32 visibleResourceIndex) (at ./Library/PackageCache/com.unity.render-pipelines.core@6096f8ccfd4b/Editor/RenderGraph/RenderGraphViewer.cs:721) UnityEditor.Rendering.RenderGraphViewer.HoverResourceGrid (System.Int32 visiblePassIndex, System.Int32 visibleResourceIndex) (at ./Library/PackageCache/com.unity.render-pipelines.core@6096f8ccfd4b/Editor/RenderGraph/RenderGraphViewer.cs:780) UnityEditor.Rendering.RenderGraphViewer.ResourceGridHovered (UnityEngine.UIElements.MouseMoveEvent evt) (at ./Library/PackageCache/com.unity.render-pipelines.core@6096f8ccfd4b/Editor/RenderGraph/RenderGraphViewer.cs:797) UnityEngine.UIElements.EventBase`1[T].InvokeCallback (System.Delegate userCallback) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Events/EventBase.cs:750) UnityEngine.UIElements.EventNoArgValue.Invoke (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.EventCallbackInternal c) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Events/EventCallback.cs:149) UnityEngine.UIElements.EventCallbackRegistry+DynamicCallbackList.Invoke (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target, UnityEngine.UIElements.EventCallbackRegistry registry) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Events/EventCallbackRegistry.cs:379) UnityEngine.UIElements.EventDispatchUtilities.HandleEventAcrossPropagationPathWithCompatibilityEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.EventBase compatibilityEvt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target, System.Boolean isCapturingTarget) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Events/EventDispatchUtilities.cs:341) UnityEngine.UIElements.EventDispatchUtilities.DispatchToElementUnderPointerOrPanelRoot (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, System.Int32 pointerId, UnityEngine.Vector2 position) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Events/EventDispatchUtilities.cs:532) UnityEngine.UIElements.EventDispatchUtilities.DispatchToCapturingElementOrElementUnderPointer (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, System.Int32 pointerId, UnityEngine.Vector2 position) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Events/EventDispatchUtilities.cs:569) UnityEngine.UIElements.PointerMoveEvent.Dispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Events/PointerEvents.cs:1532) UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/EventDispatcher.cs:420) UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/EventDispatcher.cs:216) UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Panel.cs:780) UnityEditor.UIElements.EditorEventDispatchUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.Event eventInstance) (at /Users/bokken/build/output/unity/unity/Modules/UIElementsEditor/EditorEventDispatchUtility.cs:89) UnityEditor.UIElements.DefaultWindowBackend.ProcessEvent (UnityEngine.Event e) (at /Users/bokken/build/output/unity/unity/Modules/UIElementsEditor/WindowBackends/DefaultWindowBackend.cs:114) UnityEditor.GUIView.ProcessEvent (UnityEngine.EntityId entityId, System.IntPtr nativeEventPtr, System.Boolean& result) (at /Users/bokken/build/output/unity/unity/Editor/Mono/GUIView.cs:82) UnityEngine.StackTraceUtility:ExtractStringFromExceptionInternal(Object, String&, String&) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:50)
Issues you vote on will appear here