Search Issue Tracker

Fixed

Fixed in 2023.2.8f1, 2023.3.0b5

Votes

1

Found in

2023.2.0b16

Issue ID

UUM-55116

Regression

Yes

Windows get messed up due to ARC

--

-

If the ARC window is open, it can mess up other editor windows through a certain set of actions. For example, the scene view is blank and shows a black bar at the top.

*Repro*
# Open an empty project
# Create an ARC
# Open the ARC window
# Dock the ARC window next to the scene view
# Import a clip
# Add the clip to the ARC's audio clips list
# Unfold the audio clips list
# Click on the Scene view tab
# Click on a game object in the Hierarchy
# Click on the ARC window tab
# Click on the Scene view tab

Expected: The scene view shows the scene as normal and the ARC window shows its empty state with a button to create an ARC

Actual: The scene view is blank and shows a black bar at the top and the ARC window is blank with no button, throwing an error

*Regression details*

Reproducible in 2023.2.0a18 and forward

Not reproducible in 2023.2.0a17

I suspected [29846|https://github.cds.internal.unity3d.com/unity/unity/pull/29846] but couldn't reproduce it on that one

*Stack trace*

 
{code:java}
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.AudioContainerWindow.OnBindListItem (UnityEngine.UIElements.VisualElement element, System.Int32 index) (at /Users/kristinnbragi/gitrepo/23.2/Editor/Mono/Audio/AudioContainerWindow.cs:686)
UnityEngine.UIElements.ListViewController.BindItem (UnityEngine.UIElements.VisualElement element, System.Int32 index) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/Collections/Controllers/ListViewController.cs:47)
UnityEngine.UIElements.CollectionViewController.InvokeBindItem (UnityEngine.UIElements.ReusableCollectionItem reusableItem, System.Int32 index) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/Collections/Controllers/CollectionViewController.cs:167)
UnityEngine.UIElements.BaseListViewController.InvokeBindItem (UnityEngine.UIElements.ReusableCollectionItem reusableItem, System.Int32 index) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/Collections/Controllers/BaseListViewController.cs:72)
UnityEngine.UIElements.VerticalVirtualizationController`1[T].Setup (T recycledItem, System.Int32 newIndex) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/Collections/Virtualization/VerticalVirtualizationController.cs:184)
UnityEngine.UIElements.VerticalVirtualizationController`1[T].Refresh (System.Boolean rebuild) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/Collections/Virtualization/VerticalVirtualizationController.cs:104)
UnityEngine.UIElements.BaseVerticalCollectionView.RefreshItems () (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/Controls/BaseVerticalCollectionView.cs:1026)
UnityEditor.UIElements.Bindings.ListViewSerializedObjectBinding.UpdateArraySize () (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElementsEditor/Bindings/ListViewBindings.cs:283)
UnityEditor.UIElements.Bindings.ListViewSerializedObjectBinding.OnPropertyValueChanged (UnityEditor.SerializedProperty currentPropertyIterator) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElementsEditor/Bindings/ListViewBindings.cs:325)
UnityEditor.UIElements.Bindings.SerializedObjectBindingBase.set_isFieldAttached (System.Boolean value) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElementsEditor/Bindings/BindingExtensions.cs:1407)
UnityEditor.UIElements.Bindings.SerializedObjectBindingBase.OnFieldAttached (UnityEngine.UIElements.AttachToPanelEvent evt) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElementsEditor/Bindings/BindingExtensions.cs:1421)
UnityEngine.UIElements.EventCallbackFunctor`1[TEventType].Invoke (UnityEngine.UIElements.EventBase evt) (at /Users/kristinnbragi/gitrepo/23.2/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/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/Events/EventCallbackRegistry.cs:228)
UnityEngine.UIElements.EventDispatchUtilities.HandleEvent_BubbleUpCallbacks (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement element) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/Events/EventDispatchUtilities.cs:385)
UnityEngine.UIElements.EventDispatchUtilities.HandleEventAtTargetAndDefaultPhase (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/Events/EventDispatchUtilities.cs:108)
UnityEngine.UIElements.VisualElement.HasChangedPanel (UnityEngine.UIElements.BaseVisualElementPanel prevPanel) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/VisualElement.cs:1537)
UnityEngine.UIElements.VisualElement.SetPanel (UnityEngine.UIElements.BaseVisualElementPanel p) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/VisualElement.cs:1474)
UnityEngine.UIElements.VisualElement+Hierarchy.SetParent (UnityEngine.UIElements.VisualElement value) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/VisualElementHierarchy.cs:748)
UnityEngine.UIElements.VisualElement+Hierarchy.Insert (System.Int32 index, UnityEngine.UIElements.VisualElement child) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/VisualElementHierarchy.cs:494)
UnityEngine.UIElements.VisualElement+Hierarchy.Add (UnityEngine.UIElements.VisualElement child) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/VisualElementHierarchy.cs:453)
UnityEngine.UIElements.VisualElement.Add (UnityEngine.UIElements.VisualElement child) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/VisualElementHierarchy.cs:142)
UnityEditor.UIElements.DefaultEditorWindowBackend.AddRootElement (UnityEngine.UIElements.VisualElement root) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElementsEditor/WindowBackends/DefaultEditorWindowBackend.cs:172)
UnityEditor.UIElements.DefaultEditorWindowBackend.RegisterWindow (System.Boolean duringOnCreate) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElementsEditor/WindowBackends/DefaultEditorWindowBackend.cs:131)
UnityEditor.UIElements.DefaultEditorWindowBackend.UnityEditor.IEditorWindowBackend.OnRegisterWindow () (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElementsEditor/WindowBackends/DefaultEditorWindowBackend.cs:104)
UnityEditor.HostView.RegisterSelectedPane (System.Boolean sendEvents) (at /Users/kristinnbragi/gitrepo/23.2/Editor/Mono/HostView.cs:578)
UnityEditor.HostView.SetActualViewInternal (UnityEditor.EditorWindow value, System.Boolean sendEvents) (at /Users/kristinnbragi/gitrepo/23.2/Editor/Mono/HostView.cs:129)
UnityEditor.DockArea.SetSelectedPrivate (System.Int32 value, System.Boolean sendEvents) (at /Users/kristinnbragi/gitrepo/23.2/Editor/Mono/GUI/DockArea.cs:117)
UnityEditor.DockArea.set_selected (System.Int32 value) (at /Users/kristinnbragi/gitrepo/23.2/Editor/Mono/GUI/DockArea.cs:108)
UnityEditor.DockArea.DragTab (UnityEngine.Rect tabAreaRect, System.Single scrollOffset, UnityEngine.GUIStyle tabStyle, UnityEngine.GUIStyle firstTabStyle) (at /Users/kristinnbragi/gitrepo/23.2/Editor/Mono/GUI/DockArea.cs:872)
UnityEditor.DockArea.DrawTabs (UnityEngine.Rect tabAreaRect) (at /Users/kristinnbragi/gitrepo/23.2/Editor/Mono/GUI/DockArea.cs:421)
UnityEditor.DockArea.OldOnGUI () (at /Users/kristinnbragi/gitrepo/23.2/Editor/Mono/GUI/DockArea.cs:384)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/IMGUIContainer.cs:413)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/IMGUIContainer.cs:698)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/IMGUIContainer.cs:670)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/IMGUIContainer.cs:663)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/IMGUIContainer.cs:623)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/IMGUIContainer.cs:612)
UnityEngine.UIElements.IMGUIContainer.HandleEventBubbleUp (UnityEngine.UIElements.EventBase evt) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/IMGUIContainer.cs:762)
UnityEngine.UIElements.CallbackEventHandler.HandleEventBubbleUpInternal (UnityEngine.UIElements.EventBase evt) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/Events/EventHandler.cs:271)
UnityEngine.UIElements.EventDispatchUtilities.HandleEvent_BubbleUpHandleEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement element, System.Boolean disabled) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/Events/EventDispatchUtilities.cs:409)
UnityEngine.UIElements.EventDispatchUtilities.HandleEvent_BubbleUpAllDefaultActions (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement element, System.Boolean disabled, System.Boolean isCapturingTarget) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/Events/EventDispatchUtilities.cs:422)
UnityEngine.UIElements.EventDispatchUtilities.HandleEventAcrossPropagationPathWithCompatibilityEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.EventBase compatibilityEvt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target, System.Boolean isCapturingTarget) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/Events/EventDispatchUtilities.cs:301)
UnityEngine.UIElements.EventDispatchUtilities.PropagateEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target, System.Boolean isCapturingTarget) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/Events/EventDispatchUtilities.cs:57)
UnityEngine.UIElements.EventDispatchUtilities.DispatchToCachedElementUnderPointerOrPanelRoot (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, System.Int32 pointerId, UnityEngine.Vector2 position) (at /Users/kristinnbragi/gitrepo/23.2/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 /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/Events/EventDispatchUtilities.cs:581)
UnityEngine.UIElements.PointerEventBase`1[T].Dispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/Events/PointerEvents.cs:1180)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/EventDispatcher.cs:336)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/EventDispatcher.cs:200)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/Panel.cs:567)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/UIElementsUtility.cs:498)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/UIElementsUtility.cs:225)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/UIElementsUtility.cs:74)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElements/Core/UIElementsUtility.cs:28)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at /Users/kristinnbragi/gitrepo/23.2/Modules/IMGUI/GUIUtility.cs:206)
{code}
 

  1. Resolution Note (fix version 2023.3.0b5):

    Fixed issue where interacting with the editor window for the AudioRandomContainer asset could possibly break the rendering of other windows, e.g. the scene view.

  2. Resolution Note (fix version 2023.2.8f1):

    Fixed issue where interacting with the editor window for the AudioRandomContainer asset could possibly break the rendering of other windows, e.g. the scene view.

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.