Not signed in
Copyright © 2026 Unity Technologies
Fixed UUM-41764: Editor: Fixed context menu breaking when overriding auto expand delay setting to no delay
Fixed in 2023.2.0b1 on macOS machines
Reproduction steps:
Expected result: Hovered items do not disappear and no errors are thrown
Actual result: Hovered items sometimes disappear and the following error message is shown in the Console:
ArgumentNullException: Value cannot be null. Parameter name: child UnityEngine.UIElements.ScrollView.ScrollTo (UnityEngine.UIElements.VisualElement child) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/Controls/ScrollView.cs:696) UnityEngine.UIElements.BaseVerticalCollectionView.ScrollTo (UnityEngine.UIElements.VisualElement visualElement) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/Controls/BaseVerticalCollectionView.cs:1102) UnityEngine.UIElements.GenericDropdownMenu.ChangeSelectedIndex (System.Int32 newIndex) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/Controls/GenericDropdownMenu.cs:668) UnityEngine.UIElements.GenericDropdownMenu.ChangeSelectedIndex (System.Int32 newIndex) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/Controls/GenericDropdownMenu.cs:671) UnityEngine.UIElements.GenericDropdownMenu.UpdateSelection (UnityEngine.UIElements.VisualElement target) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/Controls/GenericDropdownMenu.cs:651) UnityEngine.UIElements.GenericDropdownMenu.OnPointerMove (UnityEngine.UIElements.PointerMoveEvent evt) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/Controls/GenericDropdownMenu.cs:591) UnityEngine.UIElements.EventCallbackFunctor`1[TEventType].Invoke (UnityEngine.UIElements.EventBase evt) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/Events/EventCallback.cs:64) UnityEngine.UIElements.EventCallbackRegistry+DynamicCallbackList.Invoke (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/Events/EventCallbackRegistry.cs:228) UnityEngine.UIElements.EventDispatchUtilities.HandleEventAcrossPropagationPathWithCompatibilityEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.EventBase compatibilityEvt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target, System.Boolean isCapturingTarget) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/Events/EventDispatchUtilities.cs:310) UnityEngine.UIElements.EventDispatchUtilities.DispatchToCachedElementUnderPointerOrPanelRoot (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, System.Int32 pointerId, UnityEngine.Vector2 position) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/Events/EventDispatchUtilities.cs:538) UnityEngine.UIElements.EventDispatchUtilities.DispatchToCapturingElementOrElementUnderPointer (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, System.Int32 pointerId, UnityEngine.Vector2 position) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/Events/EventDispatchUtilities.cs:581) UnityEngine.UIElements.PointerEventBase`1[T].Dispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/Events/PointerEvents.cs:1180) UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/EventDispatcher.cs:336) UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/EventDispatcher.cs:200) UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/Panel.cs:567) UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/UIElementsUtility.cs:498) UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/UIElementsUtility.cs:225) UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/UIElementsUtility.cs:74) UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/UIElementsUtility.cs:28) UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at /home/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:206)
Platforms tested (Reproducible): Rocky 8.5, macOS Ventura 13.4.1 (M1)
Platforms tested (Not Reproducible): Windows 10
Notes: The hovered items disappear around 1/10 times and the ArgumentNullException is thrown around 1/30 times
Sign in to see your voted issues