diff --git a/Source/Editor/Modules/ContentFindingModule.cs b/Source/Editor/Modules/ContentFindingModule.cs index 480844ac4..73e22d769 100644 --- a/Source/Editor/Modules/ContentFindingModule.cs +++ b/Source/Editor/Modules/ContentFindingModule.cs @@ -228,7 +228,7 @@ namespace FlaxEditor.Modules new SearchResult { Name = item.ShortName, Type = assetItem.TypeName, Item = item } }; } - var actor = FlaxEngine.Object.Find(ref id); + var actor = FlaxEngine.Object.Find(ref id, true); if (actor != null) { return new List @@ -236,6 +236,16 @@ namespace FlaxEditor.Modules new SearchResult { Name = actor.Name, Type = actor.TypeName, Item = actor } }; } + var script = FlaxEngine.Object.Find