Hi folks,
I encountered what appears to me to be a bug with the input system, where navigation did not work with my gamepad/controller - but did work with my keyboard - when pointing the InputSystemUIInputModule to my custom Input Actions Asset. By pointing InputSystemUIInputModule to the DefaultInputActions asset that Unity generates, the problem was solved.
Background: I created a custom Input Actions Asset with Player, UI, Game (etc) action maps. In the scene, I pointed the InputSystemUIInputModule to my custom Input Actions Asset and all the UI actions were appropriately mapped to the correct UI actions (e.g. “Move” was set to “UI / Navigate”). The “Navigate” is configured identically to the default input actions asset that Unity generates for you. Nonetheless, UI-navigation only worked with keyboard arrow keys/WASD and not controller/gamepad inputs. No idea why.
This link helped me out:
Hope this helps for those experiencing similar issues! Hopefully someone can elaborate on why this does not work as intended (or at least work intuitively).
-Rich