Question by
reincarnationofunity · Jul 02, 2017 at 02:27 AM ·
scriptableobject
Public jagged array not showing up in scriptable object inspector
So I have a scriptable object that looks like this:
public class MyScrObj : ScriptableObject
{
public Class[][] classes;
}
But classes
doesn't show in the inspector. I know that if I use a one-dimensional array it would, but I want an array with more than one dimension. Moreover, when I save MyScrObj to disk and then try to read from it, Unity keeps telling me that classes
is null. What is the reason for this and is there a solution/workaround? Help appreciated!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612125328im_/https://answers.unity.com/themes/thub/images/avi.jpg)