Search Issue Tracker

Fixed in 2021.1

Votes

0

Found in

2020.2.0b7

2021.1.0a1

Issue ID

1283621

Regression

No

[Quick Search] NullReference Exception thrown on saving and replacing the existing search data

Quick Search

-

Null reference Exception thrown on saving and replacing the existing search data

Steps to Repro:

1. Create a new project
2. Click on search Icon besides collab icon
3. Enter any characters
4. Click on the Save button in the Search window
5. Repeat 3rd and 4th Step

Expected Result:
Data should be replaced and saved

Actual Result:
Null reference exception is thrown on saving and replacing the existing search data

Reproducible on: 2021.1.0a1

Environment: Windows and Mac

Note: Global Search option in Editor is introduced in 2021.1.0a1

StackTrace:

NullReferenceException: Object reference not set to an instance of an object
UnityEditor.UIElements.EditorElement.Reinit (System.Int32 editorIndex) (at <102e2bd0aecb44b4a94d16cc05249817>:0)
UnityEditor.PropertyEditor.ProcessEditorElementsToRebuild (UnityEditor.Editor[] editors) (at <859685c8158c480a8d135de9619162c9>:0)
UnityEditor.PropertyEditor.DrawEditors (UnityEditor.Editor[] editors) (at <859685c8158c480a8d135de9619162c9>:0)
UnityEditor.PropertyEditor.RebuildContentsContainers () (at <859685c8158c480a8d135de9619162c9>:0)
UnityEditor.InspectorWindow.RedrawFromNative () (at <859685c8158c480a8d135de9619162c9>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

  1. Response avatar

    Resolution Note (fix version 2021.1):

    It seems issue is fixed and not reproducible anymore

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.