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