alttester / alttester/AltTester-Unity-SDK

Hard dependency to Input System

Ouverte
#1,102 1 commentaire 0 réactions 1 personne assignée Réclamée par @RobertPoienar Voir sur GitHub
bug
Langage dominant
C#
Étoiles
121
Forks
24
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

## Steps to reproduce

Import the `AltTester` unitypackage in a project that doesn't have the `Input System` package installed

## Actual result

### AR

- There is a hard dependency to `Input System` even if one doesn't want to have it in the project when importing the `AltTester` unitypackage in the project.
- There is a compile error in the unity console:` Assets\AltTester\AltServer\AltMockUpPointerInputModule.cs(5,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)`

### Additional info

Environment
- tested with _AltTester_ unitypackage `v 1.8.2`

Screenshot with the error in console
![image](https://user-images.githubusercontent.com/62327834/216528693-ec62619c-a518-4480-89ed-b8d0e821121f.png)

## Expected result

### ER

- One should not be forced to install the Input System package after importing the `AltTester` unitypackage when not planning to use it.
- There should be no compile errors in the console

### Additional info

## Testability

Import the `AltTester` unitypackage in an empty new project

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.