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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.