InputSystem.OnDeviceChange doesn't get called when the device get connected/disconnected.

Hi,
I am trying to get a callback from the new input system when a device gets connected/disconnected. However, I have found that It never gets called when the device gets connected/disconnected.
How can I receive the callback on the device connection?

Sounds like a bug, this is the event you want to listen to exactly for this use case. Please show your code, maybe something went wrong somewhere with how you you subscribe/unsubscribe to that event