Gamepad connected while Unity Splash Screen not recognized by Input System

Input System doesn’t see an XInput controller if the controller is plugged in during Unity splash screen when launching the built player.

Steps to reproduce:

  1. Build a project with the new Input System
  2. Make sure no gamepad is connected.
  3. Launch the .exe
  4. When the Unity splash screen is displayed, plug in the gamepad.
  5. When the scene loads, the gamepad doesn’t work (and doesn’t appear on the Input System device list)

Reproduced in 2019.3.13f1, 2019.4.24f1, 2020.3.0f1, 2020.3.3f1 with Input System v 1.0.2 and 1.1.0-preview.3

Does anyone know how to deal with this? It looks like Unity’s never getting the OnDeviceChanged event when you connect a gamepad during the splash screen. InputSystem.devices doesn’t show the gamepad even though it’s plugged in. There doesn’t seem to be a way to force the Input System to refresh this list from code.

Submitted a bug report, but would really like to find a solution ASAP.
I would appreciate any help with this.

I am facing the same problem. Any workaround ?

Not that we could find. We ended up using the Rewired asset instead of the Input System.

Unity is aware of this issue, and it’s being tracked here: Unity Issue Tracker - [Input System] Gamepad is not recognized when it is connected during splash screen

Hopefully it gets resolved at some point.

Ok… I voted it. Hope it get resolved soon as well!
Thanks for your reply!