I assume that this is a bug. I am trying to use USS variables with a SettingsProvider. I have two USS variable files, one for the pro skin of the editor and another for the non-pro skin. These variables work fine with my editor window (which, OnEnable I poll the editor skin and add the correct StyleSheet to the rootelement).
However when I try to do the same in my [SettingsProvider] function the variable value is not applied.
Top: working variable value from EditorWindow
Button: non working variable
I have confirmed that the same USS file gets added to the sheets for each of the rootelements
Where I’m sure that this may be the case here. I am not in an inspector window, I am in the project settings window. Maybe the docs need updating to reflect this