Skip to content

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

Description

@EpsilonD3lta

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions