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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
Looks like already fixed here
https://github.cds.internal.unity3d.com/unity/unity/pull/31424#event-1550509