Unity OpenXR Package Device disconnected events not firing - InputDevices.deviceDisconnected
https://forum.unity.com/threads/openxr-device-disconnected-events-not-firing.1247011/
(Case 1407649) [InputSystem][OpenXR] - Device disconnected events not firing - InputDevices.deviceDisconnected
This seems to have been an issue for over 2 years now, when using Unity OpenXR package 1.3.1 currently, when using InputDevices.deviceDisconnected, nothing fires when XR devices are disconnected during play mode. When using InputDevices.deviceConnected, the connected events fire perfectly when devices are connected. Similarly, in Window - Analysis - Input Debugger, you can see the OpenXR controller devices stay active there too and don't disconnect properly.
To clarify, I am using SteamVR for OpenXR and testing with a lighthouse setup of Vive Cosmos + Faceplate + Vive Controller + Base Station