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
- UNITY_EDITOR data is Serialized into AssetBundle when building on the active Build Target
- "TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations..." error when changing the Packages "Cache Location" folder
- CompilationPipeline.assemblyCompilationFinished() hangs unity when reloading domain
- Video framerate is not restored when trying to raise it after lowering it to 10 FPS
- WebGPU: CreateRenderPipeline errors with ShaderVariantCollection warmup
Resolution Note (fix version 1.1.0-preview.4):
Fixed by https://github.com/Unity-Technologies/InputSystem/pull/1274