Hope this is the correct subforum to ask about the following issue.
As long as the search window is open (floating or docked) and there is a search string set I get the following error message after a recompile has finished:
Unable to use a named GUIStyle without a current skin. Most likely you need to move your GUIStyle initialization code to OnGUI
UnityEditor.EditorApplication:Internal_InvokeTickEvents ()
Clearing the search string will solve the issue.
Tested with Unity 2022.2.14 - 17 in an empty project.
Unable to use a named GUIStyle without a current skin. Most likely you need to move your GUIStyle initialization code to OnGUI
UnityEditor.InspectorWindow:RedrawFromNative ()