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
- UI Toolkit Slider value defaults to min value when the initial value is set in the UXML file
- The Player hangs when unloading a scene using the UnloadUnusedAssets() method
- [iOS] Too many texture parameters error is thrown when running on devices that support the number of parameters
- [MacOS] Trying to pick a Colour from full-screen window breaks Colour Picker Tool functionality
- WebGL Player hangs on first frame when "Autoconnect Profiler" is enabled and large amount of Profiler data is buffered before the first frame
Resolution Note (fix version 2021.1):
It seems issue is fixed and not reproducible anymore