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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 2021.1):
It seems issue is fixed and not reproducible anymore