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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 1.1.0-preview.4):
Fixed by https://github.com/Unity-Technologies/InputSystem/pull/1274