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

Package: Input System

-

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

  1. Resolution Note (fix version 1.1.0-preview.4):

Comments (2)

  1. 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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.