Search Issue Tracker

Duplicate

Votes

0

Found in

6000.0.48f1

6000.1.4f1

6000.2.0b2

Issue ID

UUM-105657

Regression

No

"Game Specifications" section becomes blank, and users get "ArgumentException: Cannot unschedule ..." during the "Game Specification" selection when the "Multiplayer Center" window is docked

-

Steps to reproduce:

  1. Create a project
  2. Go to Window -> Multiplayer -> Multiplayer Center
  3. Verify that the mentioned window opens
  4. Doc it next to the "Game" window
  5. Select any item from the "Genre of your Game" list
  6. Observe the Console view

Actual results: Section becomes blank and user gets an error "ArgumentException: Cannot unschedule unknown scheduled function UnityEngine.UIElements.VisualElement+SimpleScheduledItem
UnityEngine.UIElements.TimerEventScheduler.Unschedule (UnityEngine.UIElements.ScheduledItem item). A short video is added below in the "Attachments" window

Expected results: No errors in the Console view.

Reproducible with versions: 1.0.0 (6000.0.48f1, 6000.1.4f1, 6000.2.0b2)

Not reproducible with versions: -

Can’t test with versions: -

Tested on (OS): M1 Max - Sequoia 15.4.1

Notes: 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:1955)
UnityEngine.UIElements.VisualElement.SetPanel (UnityEngine.UIElements.BaseVisualElementPanel p) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/VisualElement.cs:1881)
UnityEngine.UIElements.VisualElement+Hierarchy.SetParent (UnityEngine.UIElements.VisualElement value) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/VisualElementHierarchy.cs:855)
UnityEngine.UIElements.VisualElement+Hierarchy.Clear () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/VisualElementHierarchy.cs:694)
UnityEngine.UIElements.VisualElement.Clear () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/VisualElementHierarchy.cs:272)
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:641)
UnityEngine.UIElements.VisualElement.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/VisualElement.cs:2036)
UnityEngine.UIElements.BaseField`1[TValueType].set_value (TValueType value) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Controls/InputField/BaseField.cs:238)
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.