alttester / alttester/AltTester-Unity-SDK

Hard dependency to Input System

未關閉
#1,102 1 則留言 0 個 reaction 已指派 1 人 已被 @RobertPoienar 認領 在 GitHub 檢視
bug
主要語言
C#
星號
121
分支
24
PR 合併指標
30 天內沒有已合併 PR

描述

## 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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。