Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#60 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Documentazione
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
csharp, unity

Direzione di ricerca

Start with the wiki sentence shown in the issue and the SearchService.Request call provided in the example. Check the dependency-index refresh behavior for Unity 2022.3.32 and identify whether the wiki wording is outdated or ambiguous. Done means documenting the confirmed behavior and updating the relevant wiki text if needed.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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?

Lingua principale
C#
Stelle
226
Fork
22
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Unity-Technologies/com.unity.search.extensions

Tutte le issue di Unity-Technologies/com.unity.search.extensions

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.