Copyright © 2026 Unity Technologies
Steps to reproduce:
1. Open attached Unity project from Google Drive link “LightingWindow.zip”
2. In docked Lighting window select “Adaptive Probe Volumes”
3. In Probe Invalidity Settings press on “Refresh Virtual Offset Debug” button
4. Observe the Console window
Actual results: “GUI Error” and “NullReferenceException” errors thrown in the Console window
Expected results: No errors are thrown in the Console window
Reproducible with versions: 6000.0.78f1, 6000.3.20f1, 6000.5.4f1, 6000.6.0b5, 6000.7.0a3
Tested on (OS): macOS Tahoe 26.5.1 (M1)
GUI Error: Invalid GUILayout state in LightingWindow view. Verify that all layout Begin/End calls match UnityEditor.GUIView:ProcessEvent (UnityEngine.EntityId,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Editor/Mono/GUIView.cs:82)
NullReferenceException: Object reference not set to an instance of an object UnityEngine.Rendering.AdaptiveProbeVolumes.RecomputeVOForDebugOnly () (at ./Library/PackageCache/com.unity.render-pipelines.core@6096f8ccfd4b/Editor/Lighting/ProbeVolume/ProbeGIBaking.VirtualOffset.cs:360) UnityEngine.Rendering.ProbeVolumeBakingProcessSettingsDrawer.DrawVirtualOffsetSettings (UnityEditor.SerializedProperty virtualOffsetSettings) (at ./Library/PackageCache/com.unity.render-pipelines.core@6096f8ccfd4b/Editor/Lighting/ProbeVolume/ProbeVolumeBakingProcessSettingsDrawer.cs:111) UnityEngine.Rendering.ProbeVolumeBakingProcessSettingsDrawer.OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at ./Library/PackageCache/com.unity.render-pipelines.core@6096f8ccfd4b/Editor/Lighting/ProbeVolume/ProbeVolumeBakingProcessSettingsDrawer.cs:51) UnityEditor.PropertyDrawer.OnGUISafe (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at /Users/bokken/build/output/unity/unity/Editor/Mono/Inspector/Core/ScriptAttributeGUI/PropertyDrawer.cs:28) UnityEditor.PropertyHandler.OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.Rect visibleArea) (at /Users/bokken/build/output/unity/unity/Editor/Mono/Inspector/Core/ScriptAttributeGUI/PropertyHandler.cs:249) UnityEditor.PropertyHandler.OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at /Users/bokken/build/output/unity/unity/Editor/Mono/Inspector/Core/ScriptAttributeGUI/PropertyHandler.cs:209) UnityEditor.PropertyHandler.OnGUILayout (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at /Users/bokken/build/output/unity/unity/Editor/Mono/Inspector/Core/ScriptAttributeGUI/PropertyHandler.cs:364) UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorGUILayout.cs:2084) UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUILayoutOption[] options) (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorGUILayout.cs:2068) UnityEditor.Rendering.ProbeVolumeBakingSetEditor.ProbeInvaliditySettingsGUI () (at ./Library/PackageCache/com.unity.render-pipelines.core@6096f8ccfd4b/Editor/Lighting/ProbeVolume/ProbeVolumeBakingSetEditor.cs:267) UnityEditor.Rendering.ProbeVolumeBakingSetEditor.OnInspectorGUI () (at ./Library/PackageCache/com.unity.render-pipelines.core@6096f8ccfd4b/Editor/Lighting/ProbeVolume/ProbeVolumeBakingSetEditor.cs:144) UnityEngine.Rendering.ProbeVolumeLightingTab.OnGUI () (at ./Library/PackageCache/com.unity.render-pipelines.core@6096f8ccfd4b/Editor/Lighting/ProbeVolume/ProbeVolumeLightingTab.cs:263) UnityEditor.LightingWindow.OnGUI () (at /Users/bokken/build/output/unity/unity/Editor/Mono/SceneModeWindows/LightingWindow.cs:253) UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at /Users/bokken/build/output/unity/unity/Editor/Mono/HostView.cs:532) UnityEditor.DockArea.DrawView (UnityEngine.Rect dockAreaRect) (at /Users/bokken/build/output/unity/unity/Editor/Mono/GUI/DockArea.cs:411) UnityEditor.DockArea.OldOnGUI () (at /Users/bokken/build/output/unity/unity/Editor/Mono/GUI/DockArea.cs:402) UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/IMGUIContainer.cs:416) UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEventInternal (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/IMGUIContainer.cs:782) UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/IMGUIContainer.cs:719) UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/IMGUIContainer.cs:689) UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/IMGUIContainer.cs:682) UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/IMGUIContainer.cs:638) UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/IMGUIContainer.cs:627) UnityEngine.UIElements.IMGUIContainer.HandleEventBubbleUp (UnityEngine.UIElements.EventBase evt) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/IMGUIContainer.cs:852) 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:325) 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:566) UnityEngine.UIElements.PointerUpEvent.Dispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Events/PointerEvents.cs:1660) 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