SpatialController dependency/import issues
- Lenguaje dominante
- C#
- Estrellas
- 982
- Forks
- 248
- Merge medio
- 6 d 12 h
- PR fusionados (30 d)
- 2
Descripción
Couple of complaints about the spatialcontroller package, in the AccessoryTrackingHelper class
line 7
using Unity.VisualScripting;
this shouldn't be here - it's not used, but causes compile errors if you don't have that package. This seems like it's just clearly a bug/mistake
line 14
using Unity.PolySpatial;
We don't use polyspatial at all - polyspatial is added as a dependency to the package just to check if you are in a specific camera mode. It's so much extra bloat just for something we don't care about or need. I believe you can use "Version Defines" to make this code optional for people who have polyspatial in their project, rather than making it a forced dependency
Also, when using the package, it seems to require a hand tracking description - even though we aren't really using hand tracking. To make things slightly more annoying, the hand tracking description box in the xr project settings is greyed out if you don't have unity.xr.hands in your project
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Comienza con la clase AccessoryTrackingHelper e inspecciona las dependencias del paquete spatialcontroller y el código alrededor de las líneas 7 y 14. Comprueba si el paquete compila sin Unity.VisualScripting ni Unity.PolySpatial y, después, investiga el requisito de descripción del seguimiento de manos en la configuración del proyecto XR; se considera terminado cuando no se fuerzan dependencias innecesarias y el paquete funciona sin una configuración de seguimiento de manos no utilizada.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- csharp, unity
- Área
- build-system, game-dev
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100