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

Error when using Search Extensions with Unity 2021.3

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
csharp, unity
Ambito
game-dev, search

Direzione di ricerca

Start with Indexing/TextureCustomIndexing.cs and Indexing/ShaderIndexing.cs, then compare their ObjectIndexer.IndexProperty calls with the API available in Unity 2021.3. Check the README's supported-version wording as well. Done means the package no longer produces these compiler errors in Unity 2021.3 and its documented support range is accurate.

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

Descrizione

I'm using Search Extensions with Unity 2021.3, and I encountered some errors when I updated the package. Here are the error messages I received:

Library\PackageCache\com.unity.search.extensions@5cf58b16f8\Indexing\TextureCustomIndexing.cs(22,17): error CS0308: The non-generic method 'ObjectIndexer.IndexProperty(int, string, string, bool, bool)' cannot be used with type arguments
Library\PackageCache\com.unity.search.extensions@5cf58b16f8\Indexing\ShaderIndexing.cs(48,25): error CS0308: The non-generic method 'ObjectIndexer.IndexProperty(int, string, string, bool, bool)' cannot be used with type arguments

It appears that the generic version of ObjectIndexer.IndexProperty (added in this commit) is available for newer versions of Unity but not for 2021.3, despite the README stating that "The Search Extensions package will work with Unity 2020.3 and any other versions higher than 2021.2."
Could you please address this issue so that it works with Unity 2021.3, or update the support versions description in the README? Thank you!

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.