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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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.