Search Issue Tracker
Fixed in 2021.1.X
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
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&)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Asset Bundles] A new bundle hash is not generated when the name of a serialized field is changed
- "Editor unavailable" message is displayed when navigating to "Get set up" tab in Unity Hub
- Icon section shows incomplete message and unusable check box in Build Profiles and Player Settings window instead of “Not applicable for this platform” for Dedicated Server Platform
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
Resolution Note (fix version 2021.1):
It seems issue is fixed and not reproducible anymore