diff --git a/Source/Editor/GUI/Popups/TypeSearchPopup.cs b/Source/Editor/GUI/Popups/TypeSearchPopup.cs index 47ec94154..8b9c6a541 100644 --- a/Source/Editor/GUI/Popups/TypeSearchPopup.cs +++ b/Source/Editor/GUI/Popups/TypeSearchPopup.cs @@ -103,6 +103,9 @@ namespace FlaxEditor.GUI var attributes = type.GetAttributes(true); if (attributes.FirstOrDefault(x => x is HideInEditorAttribute || x is System.Runtime.CompilerServices.CompilerGeneratedAttribute) == null) { + var mType = type.Type; + if (mType != null && mType.IsValueType && mType.ReflectedType != null && string.Equals(mType.ReflectedType.Name, "", StringComparison.Ordinal)) + continue; AddItem(new TypeItemView(type, attributes)); } }