diff --git a/Source/Editor/CustomEditors/Editors/GenericEditor.cs b/Source/Editor/CustomEditors/Editors/GenericEditor.cs index 185b93381..426455dbe 100644 --- a/Source/Editor/CustomEditors/Editors/GenericEditor.cs +++ b/Source/Editor/CustomEditors/Editors/GenericEditor.cs @@ -563,7 +563,8 @@ namespace FlaxEditor.CustomEditors.Editors if (disableSingle && child is PropertyNameLabel) break; - child.Enabled = false; + if (child != null) + child.Enabled = false; } } }