Search Issue Tracker

Won't Fix

Votes

0

Found in

2023.2.0a21

Issue ID

UUM-41036

Regression

Yes

Reverting any volume override property results in an error

-

1) Open HDRP template (or any other project)

2) Change any volume property as in the video

3) Revert the property

 

Error:

ArgumentNullException: Value cannot be null.
Parameter name: source
System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) (at <30a10d8f441b49b3bc2afc87180fc2ee>:0)
UnityEngine.Rendering.VolumeManager.OnVolumeComponentChanged (UnityEngine.Rendering.VolumeComponent component) (at ./Library/PackageCache/com.unity.render-pipelines.core@16.0.2/Runtime/Volume/VolumeManager.cs:298)
UnityEngine.Rendering.VolumeComponent+<>c.<TryGetRevertMethodForFieldName>b__20_0 (UnityEditor.SerializedProperty property) (at ./Library/PackageCache/com.unity.render-pipelines.core@16.0.2/Runtime/Volume/VolumeComponent.EditorOnly.cs:22)
UnityEditor.EditorGUI+<>c__DisplayClass297_3.<FillPropertyContextMenu>b__3 (System.Object o) (at <b958156a7a694bad8238d0453adee41e>:0)
UnityEditor.GenericMenu.CatchMenu (System.Object userData, System.String[] options, System.Int32 selected) (at <b958156a7a694bad8238d0453adee41e>:0)
UnityEditor.EditorUtility+<>c__DisplayClass146_1.<DoCustomMenu>b__0 (System.Object e) (at <b958156a7a694bad8238d0453adee41e>:0)
UnityEngine.UIElements.GenericDropdownMenu+MenuItem.PerformAction () (at <37ce02faff104b3280da50ceb209ed9f>:0)
UnityEngine.UIElements.GenericDropdownMenu.ClickItem () (at <37ce02faff104b3280da50ceb209ed9f>:0)
UnityEngine.UIElements.GenericDropdownMenu.OnPointerUp (UnityEngine.UIElements.PointerUpEvent evt) (at <37ce02faff104b3280da50ceb209ed9f>:0)
UnityEngine.UIElements.EventCallbackFunctor`1[TEventType].Invoke (UnityEngine.UIElements.EventBase evt) (at <37ce02faff104b3280da50ceb209ed9f>:0)
UnityEngine.UIElements.EventCallbackRegistry+DynamicCallbackList.Invoke (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target) (at <37ce02faff104b3280da50ceb209ed9f>:0)
UnityEngine.UIElements.EventDispatchUtilities.HandleEventAcrossPropagationPathWithCompatibilityEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.EventBase compatibilityEvt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target, System.Boolean isCapturingTarget) (at <37ce02faff104b3280da50ceb209ed9f>:0)
UnityEngine.UIElements.EventDispatchUtilities.DispatchToCachedElementUnderPointerOrPanelRoot (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, System.Int32 pointerId, UnityEngine.Vector2 position) (at <37ce02faff104b3280da50ceb209ed9f>:0)
UnityEngine.UIElements.EventDispatchUtilities.DispatchToCapturingElementOrElementUnderPointer (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, System.Int32 pointerId, UnityEngine.Vector2 position) (at <37ce02faff104b3280da50ceb209ed9f>:0)
UnityEngine.UIElements.PointerEventBase`1[T].Dispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <37ce02faff104b3280da50ceb209ed9f>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at <37ce02faff104b3280da50ceb209ed9f>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <37ce02faff104b3280da50ceb209ed9f>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <37ce02faff104b3280da50ceb209ed9f>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <37ce02faff104b3280da50ceb209ed9f>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <37ce02faff104b3280da50ceb209ed9f>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <37ce02faff104b3280da50ceb209ed9f>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <37ce02faff104b3280da50ceb209ed9f>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <873faee1013b497797d1dcfb5bcb35ac>:0)

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.