Search Issue Tracker

Active

Votes

0

Found in

6000.1.0f1

6000.2.0a9

Issue ID

UUM-103512

Regression

No

User gets an error "ArgumentException: Cannot unschedule unknown scheduled function UnityEngine.UIElements.VisualElement+SimpleScheduledItem" during "Genre of your Game" selection

-

*Steps to reproduce:*
# Create a new Unity project
# Go to Window -> Multiplayer -> Multiplayer Center
# Verify that the mentioned window becomes visible
# Docked it next to the "Game" window
# Observe its UI
# Try to select  any possible option from the "Genre of your Game"
# Observe the result

*Actual results:* The Section becomes empty, and the console displays an error. A short video is added below in the Attachments section.

*Expected results:* Functionality should work—no errors in the Console.

*Reproducible with versions:*  60000.47f1, 6000.1.1f1, 6000.2.0a10

*Not reproducible with versions:* 2022.3.61f1, as the  "Multiplayer Center" window is not available

*Can’t test with versions:* -

*Tested on (OS):* M1 Max - Sequoia 15.3.2, Windows 11, macOS 15.5 (Silicon M4)

*Notes:*
* Also reproducible with Audio Random Container
* Full error

ArgumentException: Cannot unschedule unknown scheduled function UnityEngine.UIElements.VisualElement+SimpleScheduledItem
UnityEngine.UIElements.TimerEventScheduler.Unschedule (UnityEngine.UIElements.ScheduledItem item) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Scheduler.cs:305)
UnityEngine.UIElements.VisualElement+BaseVisualElementScheduledItem.OnPanelDeactivate () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/VisualElementScheduler.cs:316)
UnityEngine.UIElements.VisualElement+BaseVisualElementScheduledItem.SendDeactivation () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/VisualElementScheduler.cs:209)
UnityEngine.UIElements.VisualElement+BaseVisualElementScheduledItem.OnElementDetachFromPanelCallback (UnityEngine.UIElements.DetachFromPanelEvent evt) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/VisualElementScheduler.cs:229)
UnityEngine.UIElements.EventCallbackFunctor`1[TEventType].Invoke (UnityEngine.UIElements.EventBase evt) (at /Users/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 /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Events/EventCallbackRegistry.cs:246)
UnityEngine.UIElements.EventDispatchUtilities.HandleEventAtTargetAndDefaultPhase (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Events/EventDispatchUtilities.cs:116)
UnityEngine.UIElements.VisualElement.WillChangePanel (UnityEngine.UIElements.BaseVisualElementPanel destinationPanel) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/VisualElement.cs:1809)
UnityEngine.UIElements.VisualElement.SetPanel (UnityEngine.UIElements.BaseVisualElementPanel p) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/VisualElement.cs:1735)
UnityEngine.UIElements.VisualElement+Hierarchy.SetParent (UnityEngine.UIElements.VisualElement value) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/VisualElementHierarchy.cs:813)
UnityEngine.UIElements.VisualElement+Hierarchy.Clear () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/VisualElementHierarchy.cs:652)
UnityEngine.UIElements.VisualElement.Clear () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/VisualElementHierarchy.cs:256)
Unity.Multiplayer.Center.Window.UI.QuestionnaireView.ReCreateVisualElements () (at ./Library/PackageCache/com.unity.multiplayer.center@f3fb577b3546/Editor/MultiplayerCenterWindow/UI/QuestionnaireView.cs:35)
Unity.Multiplayer.Center.Window.UI.QuestionnaireView.Refresh () (at ./Library/PackageCache/com.unity.multiplayer.center@f3fb577b3546/Editor/MultiplayerCenterWindow/UI/QuestionnaireView.cs:30)
Unity.Multiplayer.Center.Window.RecommendationTabView.OnPresetSelected (Unity.Multiplayer.Center.Common.Preset preset) (at ./Library/PackageCache/com.unity.multiplayer.center@f3fb577b3546/Editor/MultiplayerCenterWindow/RecommendationTabView.cs:193)
Unity.Multiplayer.Center.Window.UI.QuestionnaireView.RaisePresetSelected (Unity.Multiplayer.Center.Common.Preset preset) (at ./Library/PackageCache/com.unity.multiplayer.center@f3fb577b3546/Editor/MultiplayerCenterWindow/UI/QuestionnaireView.cs:82)
Unity.Multiplayer.Center.Window.UI.QuestionSection.RaiseValueChangedCallback (UnityEngine.UIElements.ChangeEvent`1[T] eventData) (at ./Library/PackageCache/com.unity.multiplayer.center@f3fb577b3546/Editor/MultiplayerCenterWindow/UI/QuestionSection.cs:140)
UnityEngine.UIElements.EventCallbackFunctor`1[TEventType].Invoke (UnityEngine.UIElements.EventBase evt) (at /Users/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 /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Events/EventCallbackRegistry.cs:246)
UnityEngine.UIElements.EventDispatchUtilities.HandleEventAcrossPropagationPath (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target, System.Boolean isCapturingTarget) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Events/EventDispatchUtilities.cs:191)
UnityEngine.UIElements.EventDispatchUtilities.DefaultDispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Events/EventDispatchUtilities.cs:537)
UnityEngine.UIElements.EventBase.Dispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Events/EventBase.cs:115)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/EventDispatcher.cs:419)
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:215)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Panel.cs:630)
UnityEngine.UIElements.VisualElement.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/VisualElement.cs:1890)
UnityEngine.UIElements.BaseField`1[TValueType].set_value (TValueType value) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Controls/InputField/BaseField.cs:235)
UnityEngine.UIElements.EnumField.ChangeValueFromMenu (System.Object menuItem) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Controls/EnumField.cs:428)
UnityEngine.UIElements.EnumField.<ShowMenu>b__42_0 (System.Object contentView) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Controls/EnumField.cs:420)
UnityEditor.GenericMenu.CatchMenu (System.Object userData, System.String[] options, System.Int32 selected) (at /Users/bokken/build/output/unity/unity/Editor/Mono/GUI/GenericMenu.cs:154)

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.