Hi Guys,
So if my code looks like this:
public class A : EditorWindow
{
}
public class B : A
{
[MenuItem("Windows/B")]
static void Init()
{
EditorWindow.GetWindow<B>().Show();
}
}
And I add window B to the editor. If I restart Unity, the B window will always fail to load. It seems that Unity doesn’t handle multiple inheritance from Editor Window correctly when Unity has to load, window A however will always load correctly.
Is this bug known? Or am I missing something major?