Search Issue Tracker

Fixed

Fixed in 2023.3.0a18

Votes

0

Found in

2023.2.0a17

2023.2.0b3

2023.3.0a1

Issue ID

UUM-44346

Regression

Yes

Continuously selecting Assets in Project window causes Assertion failed errors

--

-

Steps to reproduce:
1. Open attached project "AssetBug.zip"
2. In Project window, select the Assets/UniversalRenderPipelineGlobalSettings.asset
3. Using mouse or arrow keys, continuously select both the asset itself, and its neighboring assets
4. Observe Console window

Expected result: No errors
Actual result: Assertion failed error

Assertion failed
UnityEditor.Selection:Internal_CallSelectionChanged ()

Assertion failed
UnityEditor.InspectorWindow:RedrawFromNative ()

Reproducible with: 2023.2.0a17, 2023.2.0b3
Not reproducible with: 2021.3.29f1, 2022.3.6f1, 2023.1.7f1, 2023.2.0a16

Reproduced on: Windows 10

 

Edit:

Here's the full stack trace

Assertion failed
UnityEngine.Debug:ExtractStackTraceNoAlloc (byte*,int,string)
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /opt/UnitySrc/Sources/unity-git-hierarchy-develop/Runtime/Export/Scripting/StackTrace.cs:37)
UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Assert (bool)
UnityEditor.Rendering.Universal.UniversalGlobalSettingsEditor:CreateDefaultVolumeProfileEditor () (at ./Library/PackageCache/com.unity.render-pipelines.universal@16.0.2/Editor/GlobalSettings/UniversalGlobalSettingsEditor.cs:82)
UnityEditor.Rendering.Universal.UniversalGlobalSettingsEditor:CreateVolumeProfileSection () (at ./Library/PackageCache/com.unity.render-pipelines.universal@16.0.2/Editor/GlobalSettings/UniversalGlobalSettingsEditor.cs:105)
UnityEditor.Rendering.Universal.UniversalGlobalSettingsEditor:CreateInspectorGUI () (at ./Library/PackageCache/com.unity.render-pipelines.universal@16.0.2/Editor/GlobalSettings/UniversalGlobalSettingsEditor.cs:72)
UnityEditor.UIElements.InspectorElement:CreateInspectorElementUsingUIToolkit (UnityEditor.Editor) (at /opt/UnitySrc/Sources/unity-git-hierarchy-develop/Editor/Mono/UIElements/Inspector/InspectorElement.cs:574)
UnityEditor.UIElements.InspectorElement:CreateInspectorElementFromSerializedObject (UnityEditor.SerializedObject) (at /opt/UnitySrc/Sources/unity-git-hierarchy-develop/Editor/Mono/UIElements/Inspector/InspectorElement.cs:477)
UnityEditor.UIElements.InspectorElement:HandleEventBubbleUp (UnityEngine.UIElements.EventBase) (at /opt/UnitySrc/Sources/unity-git-hierarchy-develop/Editor/Mono/UIElements/Inspector/InspectorElement.cs:380)
UnityEngine.UIElements.EventDispatchUtilities:HandleEventAtTargetAndDefaultPhase (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.BaseVisualElementPanel,UnityEngine.UIElements.VisualElement) (at /opt/UnitySrc/Sources/unity-git-hierarchy-develop/ModuleOverrides/com.unity.ui/Core/Events/EventDispatchUtilities.cs:100)
UnityEditor.UIElements.Bindings.SerializedObjectBindingContext:SendBindingEvent<UnityEditor.UIElements.SerializedObjectBindEvent> (UnityEditor.UIElements.SerializedObjectBindEvent,UnityEngine.UIElements.VisualElement) (at /opt/UnitySrc/Sources/unity-git-hierarchy-develop/ModuleOverrides/com.unity.ui/Editor/Bindings/BindingExtensions.cs:86)
UnityEditor.UIElements.Bindings.SerializedObjectBindingContext:BindTree (UnityEngine.UIElements.VisualElement,UnityEditor.SerializedProperty) (at /opt/UnitySrc/Sources/unity-git-hierarchy-develop/ModuleOverrides/com.unity.ui/Editor/Bindings/BindingExtensions.cs:96)
UnityEditor.UIElements.Bindings.SerializedObjectBindingContext:ContinueBinding (UnityEngine.UIElements.VisualElement,UnityEditor.SerializedProperty) (at /opt/UnitySrc/Sources/unity-git-hierarchy-develop/ModuleOverrides/com.unity.ui/Editor/Bindings/BindingExtensions.cs:38)
UnityEditor.UIElements.Bindings.SerializedObjectBindingContext:Bind (UnityEngine.UIElements.VisualElement) (at /opt/UnitySrc/Sources/unity-git-hierarchy-develop/ModuleOverrides/com.unity.ui/Editor/Bindings/BindingExtensions.cs:29)
UnityEditor.UIElements.Bindings.DefaultSerializedObjectBindingImplementation:Bind (UnityEngine.UIElements.VisualElement,UnityEditor.SerializedObject) (at /opt/UnitySrc/Sources/unity-git-hierarchy-develop/ModuleOverrides/com.unity.ui/Editor/Bindings/BindingExtensions.cs:820)
UnityEditor.UIElements.BindingExtensions:Bind (UnityEngine.UIElements.VisualElement,UnityEditor.SerializedObject) (at /opt/UnitySrc/Sources/unity-git-hierarchy-develop/Editor/Mono/UIElements/Bindings/BindingsInterface.cs:58)
UnityEditor.UIElements.InspectorElement:.ctor (UnityEditor.SerializedObject,UnityEditor.Editor,UnityEditor.UIElements.InspectorElement/DefaultInspectorFramework) (at /opt/UnitySrc/Sources/unity-git-hierarchy-develop/Editor/Mono/UIElements/Inspector/InspectorElement.cs:323)
UnityEditor.UIElements.InspectorElement:.ctor (UnityEditor.Editor,UnityEditor.UIElements.InspectorElement/DefaultInspectorFramework) (at /opt/UnitySrc/Sources/unity-git-hierarchy-develop/Editor/Mono/UIElements/Inspector/InspectorElement.cs:275)
UnityEditor.UIElements.InspectorElement:.ctor (UnityEditor.Editor) (at /opt/UnitySrc/Sources/unity-git-hierarchy-develop/Editor/Mono/UIElements/Inspector/InspectorElement.cs:271)
UnityEditor.UIElements.EditorElement:BuildInspectorElement () (at /opt/UnitySrc/Sources/unity-git-hierarchy-develop/Editor/Mono/UIElements/Inspector/EditorElement.cs:175)
UnityEditor.UIElements.EditorElement:CreateInspectorElement () (at /opt/UnitySrc/Sources/unity-git-hierarchy-develop/Editor/Mono/UIElements/Inspector/EditorElement.cs:290)
UnityEditor.EditorElementUpdater:CreateInspectorElementsWithoutLayout (int) (at /opt/UnitySrc/Sources/unity-git-hierarchy-develop/Editor/Mono/Inspector/EditorElementUpdater.cs:80)
UnityEditor.PropertyEditor:RebuildContentsContainers () (at /opt/UnitySrc/Sources/unity-git-hierarchy-develop/Editor/Mono/Inspector/PropertyEditor.cs:1172)
UnityEditor.InspectorWindow:OnSelectionChanged () (at /opt/UnitySrc/Sources/unity-git-hierarchy-develop/Editor/Mono/Inspector/InspectorWindow.cs:150)
UnityEditor.Selection:Internal_CallSelectionChanged () (at /opt/UnitySrc/Sources/unity-git-hierarchy-develop/Editor/Mono/Selection.cs:38)

  1. Resolution Note (fix version 2023.3.0a18):

    Fixed in 2023.3.0a18

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.