com.unity.search.extensions icon indicating copy to clipboard operation
com.unity.search.extensions copied to clipboard

Question: Is dependency index autoupdated when assets change on disk?

Open EpsilonD3lta opened this issue 6 months ago • 0 comments

There is a mention in wiki:

Image

But what does it actually mean? I am using Unity 2022.3.32 and from my tests, when I change an asset on disk (e.g. remove material from prefab with mesh renderer) it triggers an index update (default unity search index update) and it also updates the dependency index it seems. At least when I run

var searchContext = SearchService.CreateContext(new[] { "dep", "scene", "asset", "adb" }, $"ref=\"{objectPath}\""); SearchService.Request(searchContext, (SearchContext context, IList<SearchItem> items) => Found(ref finished, items, ref resultItems));

it finds correct results. Was there an update that implmented autorefresh of dependency index or the sentence from Wiki means something else?

EpsilonD3lta avatar Jul 18 '25 00:07 EpsilonD3lta