Search Issue Tracker

Third Party Issue

Votes

0

Found in

2020.3.43f1

2021.3.16f1

2022.2.2f1

2023.1.0a22

2023.2.0a1

Issue ID

UUM-21701

Regression

No

[Linux] "OnDeviceChange" event not triggered when Bluetooth controller disconnects

-

How to reproduce:
1. Open the user-attached project (InputSystemTest.zip)
2. Build and run the project
3. Connect one of the devices listed below through Bluetooth:

  • Xbox wireless controller model 1914
  • Dual sense PS5 controller model CFI-ZCT1W
  • Wireless controller for Xbox One model 1697

4. Disconnect the controller by pulling the battery
5. Observe the console

Expected result: there's a message saying that the controller has disconnected
Actual result: there is no message printed that the controller has disconnected

Reproducible with: 2020.3.43f1, 2021.3.16f1, 2022.2.2f1, 2023.1.0a22f1

Reproducible on: Ubuntu 20.04
Not reproducible on: Windows 10

Notes:
1. The issue doesn't reproduce consistently so it might take several tries to reproduce it
2. Alternatively to the mentioned devices some Bluetooth input applications on android can reproduce the issue when Bluetooth is disabled on the Android device

  1. Resolution Note:

    "OnDeviceChange" event not triggering on Linux platform when using certain controller models (e.x. Xbox Controller model 1914, model 1708) is due to old firmware versions they are utilizing. Updating the controller firmware to the latest version fixes this issue. For instance if it is a Xbox wireless controller, its firmware can be updated to the latest by connecting to a Xbox console or by using Xbox accessories software downloaded from windows store

Comments (1)

  1. kahyong_unity

    Jan 30, 2023 10:22

    This issue is fixed by updating the firmware to the latest using Xbox accessories so it is a non-issue.

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.