NaughtyAttributes
NaughtyAttributes copied to clipboard
Expandable Attribute label is broken in custom editor window
When displaying an editor in a custom window by using Editor.CreateEditor from a class using the Expandable attribute the label is displayed twice as seen in this image:

public class LevelData : ScriptableObject
{
[Expandable]
public LevelSettings Settings;
...
}
var editor = Editor.CreateEditor(this.level);
editor.OnInspectorGUI();
i got the same problem ,If you don't have to display the variable name ,you can use
[Expandable, Label(" ")]