Search Issue Tracker
Fixed in 1.1.0-preview.4
Votes
4
Found in [Package]
0.1.2-preview
Issue ID
1275148
Regression
No
Disconnecting and Reconnecting input device causes exception in InputUser
How to reproduce:
1. Open the attached "InputUserDisconnect.zip" project
2. Open the "SampleScene" Scene
3. Enter the Play Mode -> press space button on the keyboard
4. Disconnect the keyboard -> reconnect it
Expected result: Exceptions are not thrown during UnpairDevices on an InputUser that previously had a designated device
Actual result: Exceptions are thrown during UnpairDevices on an InputUser that previously had a designated device
Reproducible with: 2018.4.29f1 (0.2.1-preview), 2019.4.14f1 (0.9.6-preview), 2020.1.13f1 (1.0.0-preview.3), 2020.2.0b11 (1.0.0), 2021.1.0a5 (1.1.0-preview.2)
Notes:
- The issue also occurs on Xbox One and PS4 controllers
Comments (2)
-
WilliamBenichou
Dec 08, 2020 10:52
-
WilliamBenichou
Dec 08, 2020 10:52
FYI: Here is what seems to be a fix I integrated for the studio I'm working in.
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
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
- Debug Console does not reappear when disabling and re-enabling Debug.developerConsoleEnabled
Resolution Note (fix version 1.1.0-preview.4):
Fixed by https://github.com/Unity-Technologies/InputSystem/pull/1274