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