diff --git a/Source/Editor/CustomEditors/CustomEditorsUtil.cs b/Source/Editor/CustomEditors/CustomEditorsUtil.cs index d6d2455d0..27dbdbb7b 100644 --- a/Source/Editor/CustomEditors/CustomEditorsUtil.cs +++ b/Source/Editor/CustomEditors/CustomEditorsUtil.cs @@ -72,6 +72,8 @@ namespace FlaxEditor.CustomEditors return new GenericEditor(); if (targetType.IsArray) { + if (targetType.Type == null) + return new ArrayEditor(); if (targetType.Type.GetArrayRank() != 1) return new GenericEditor(); // Not-supported multidimensional array