The Restricted Attribute Drawer can thrown an exception when using the Unity Quick Search functionality due to the EditorStyles not being available to assign to static fields.
Instead these fields are now just assigned in the OnGUI method before the properties are changed, this seems to resolve the error.
The Restricted Attribute Drawer can thrown an exception when using the Unity Quick Search functionality due to the EditorStyles not being available to assign to static fields.
Instead these fields are now just assigned in the OnGUI method before the properties are changed, this seems to resolve the error.