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
-
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
- "Assertion failed on expression" exceptions are thrown when using IJobParallelForTransformExtensions.RunReadOnly
- [WebGL] Blit with Custom Shader is not rendered in Player
- Error “TypeError: Cannot read properties of undefined (reading ’getSupportedExtensions')" is thrown and WebGL builds do not run on ChromeOS devices when using WebGL 1.0 Graphics API
- [HDRP] SUCCEEDED(hr) error is thrown when the project's Shadows Filtering Quality is set to High or Very High
- With specific Windows 10 settings, the player window resolution does not match the values passed into Screen.SetResolution()
Resolution Note (fix version 1.1.0-preview.4):
Fixed by https://github.com/Unity-Technologies/InputSystem/pull/1274