Classes that contain an array of its own type do not appear in the inspector


I have a simple class that contains an array of its own type

public class Temp {
    public int m_Value;

public class Test {
    public Test[] m_Array;
    public Temp[] m_TmpArray;


in the inspector i can see m_TmpArray but not m_Array. TmpArray is another custom class, with no parent classes. Is this a bug?

More than a bug, it's a known limitation. Here's a request I just created for this feature.

in this case you need to customize the inspector to fit to your needs by using a CustomEditor for your component that is using the class, i have faced the same problem and you need to create a recursive function to draw the inspector for you and loop through the array items