Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Error when using Search Extensions with Unity 2021.3

Abierto
#56 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
csharp, unity
Área
game-dev, search

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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!

Lenguaje dominante
C#
Estrellas
226
Forks
22
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Unity-Technologies/com.unity.search.extensions

Todos los issues de Unity-Technologies/com.unity.search.extensions

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.