diff --git a/Source/Editor/GUI/Popups/TypeSearchPopup.cs b/Source/Editor/GUI/Popups/TypeSearchPopup.cs index 73c5baab7..47ec94154 100644 --- a/Source/Editor/GUI/Popups/TypeSearchPopup.cs +++ b/Source/Editor/GUI/Popups/TypeSearchPopup.cs @@ -101,7 +101,7 @@ namespace FlaxEditor.GUI if (_isValid(type)) { var attributes = type.GetAttributes(true); - if (attributes.FirstOrDefault(x => x is HideInEditorAttribute) == null) + if (attributes.FirstOrDefault(x => x is HideInEditorAttribute || x is System.Runtime.CompilerServices.CompilerGeneratedAttribute) == null) { AddItem(new TypeItemView(type, attributes)); }