diff --git a/Source/Editor/GUI/Popups/TypeSearchPopup.cs b/Source/Editor/GUI/Popups/TypeSearchPopup.cs
index 9d9ee2040..73c5baab7 100644
--- a/Source/Editor/GUI/Popups/TypeSearchPopup.cs
+++ b/Source/Editor/GUI/Popups/TypeSearchPopup.cs
@@ -27,6 +27,17 @@ namespace FlaxEditor.GUI
///
public ScriptType Type => _type;
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public TypeItemView()
+ {
+ _type = ScriptType.Null;
+ Name = "";
+ TooltipText = "Unset value.";
+ Tag = _type;
+ }
+
///
/// Initializes a new instance of the class.
///
@@ -83,6 +94,7 @@ namespace FlaxEditor.GUI
// TODO: use async thread to search types without UI stall
var allTypes = Editor.Instance.CodeEditing.All.Get();
+ AddItem(new TypeItemView());
for (int i = 0; i < allTypes.Count; i++)
{
var type = allTypes[i];