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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (fix version 2021.1):
It seems issue is fixed and not reproducible anymore