Since Unity 2019.3, the properties to get fonts (e.g EditorStyles.standardFont) is changed from getting the value from a backing field to calling EditorResources.GetFont(FontDef.Style.[style]), and the backing field seems to be removed. Changes : UnityCsReference 2019.2 -> UnityCsReference 2019.3
Since Unity 2019.3, the properties to get fonts (e.g
EditorStyles.standardFont
) is changed from getting the value from a backing field to callingEditorResources.GetFont(FontDef.Style.[style])
, and the backing field seems to be removed. Changes : UnityCsReference 2019.2 -> UnityCsReference 2019.3Therefore these lines :
https://github.com/5argon/ModifyEditorStyle/blob/1fa5ecb4bc930f82d0916844defcd5bc90839355/Editor/ModifyEditorStyle.cs#L318-L325
will throw either
NullPointerException
orFieldNotFoundException
and the code will no longer works.