Search Issue Tracker

By Design

Votes

7

Found in [Package]

1.1.0-preview.3

Issue ID

1313446

Regression

No

[Input System] Controller isn't listed as one of Devices under Player Input if it is connected after entering Play Mode

Package: Input System

-

How to reproduce:
1. Open the user's attached project "UnityInputSystemTest.zip"
2. In the Project tab, open Assets/Scenes/SampleScene.unity
3. In the Hierarchy tab, click on GameObject
4. Enter Play Mode
5. In the Inspector tab, note that only "Keyboard:/Keyboard" is logged among Devices under Player Input component's Debug section
6. Connect a controller to the computer
7. In the Inspector tab, observe the Devices under the Player Input component

Expected results: the listed Devices are updated (e.g. "XInputControllerWindows:/XInputControllerWindows" is added)
Actual results: the listed Devices are not updated

Reproducible with: 2019.4.21f1, 2020.2.6f1, 2021.1.0b9, 2021.2.0a7 (Input System 1.0.2, 1.1.0-preview.3)
Could not test with: 2018.4.32f1 as it's using outdated versions of Input System

Notes:
- Tested with an Xbox One controller
- If the controller is connected before entering Play Mode, it is listed among Devices under the Player Input component

  1. Resolution Note:

    Auto-switching needs to be enabled for this to work.

    Note: the device needs to be used for it to have an effect. Just plugging it in won't affect device pairing.

Add comment

Log in to post comment