Copyright © 2026 Unity Technologies
Verified with: 2023.2.0a15.2253.2683 Revision: trunk e4d2a7e41f40 Built: Tue, 09 May 2023 02:23:23 GMT
Verified with: 2023.1.0b18.3067.5283 Revision: 2023.1/staging 5823d77fe92a Built: Wed, 17 May 2023 02:16:47 GMT
Steps to reproduce:
Expected result: The query should be saved with no errors in the console.
Actual result: The query is saved, but the console displays an error.
Reproducible with: 2023.1.0a15, 2023.1.0b10, 2023.2.0a9.
Not reproducible with: 2023.1.0a14, 2022.2.13f1, 2021.3.22f1, 2020.3.46f1 (this stream has no this window).
Error:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Search.SearchDetailView.RefreshActions (UnityEditor.Search.SearchContext context) (at /Users/bokken/build/output/unity/unity/Modules/QuickSearch/Editor/UITK/SearchDetailView.cs:261)
UnityEditor.Search.SearchDetailView.<Refresh>b__35_0 () (at /Users/bokken/build/output/unity/unity/Modules/QuickSearch/Editor/UITK/SearchDetailView.cs:224)
UnityEngine.UIElements.VisualElement+SimpleScheduledItem.PerformTimerUpdate (UnityEngine.UIElements.TimerState state) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/VisualElementScheduler.cs:346)
UnityEngine.UIElements.TimerEventScheduler.UpdateScheduledEvents () (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Scheduler.cs:362)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.UpdateSchedulers () (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UIElementsUtility.cs:273)
UnityEngine.UIElements.UIEventRegistration.UpdateSchedulers () (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UIElementsUtility.cs:105)
UnityEditor.RetainedMode.UpdateSchedulers () (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Editor/RetainedMode.cs:55)
Issues you vote on will appear here