Scriptable object inspector won't show up if function has default parameter assigned

Hi,

I ran into a weird problem. So the setup I have is.

[System.Serializable]
public class SomeClass
{
   public void SomeFunction(String bla, SomeOtherScript SomeOtherScriptObject = null)
  {

  }
}

public class ScriptableObjectClass: ScriptableObject
{
  public SomeClass SomeClassObject;
}

So whenever I assign something to SomeOtherScriptObject = null the inspector of ScriptableObject asset will show completely blank and I can’t assign that ScriptableObject assets to any of the scripts variable fields. if I delete = null part everything works. Is this a bug or I’m not supposed to init variables defaults?

Unity version is 2017.4.24.f1

Have you tested it in empty project? Im using scriptables and default parameter values and didn’t noticed anything like this.

No not yet, I’ll try in empty.