I am working on a demo for my video game and I am trying to display a character selection widget for each player. I also want each player to be able to interact only with their own widget.
However, I am encountering a more basic problem: gamepad 2 does not trigger anything at all
So I decided to do a fairly basic test:
- An empty level where I associate a game mode blueprint
- The latter contains a controller blueprint
- A widget blueprint with only three buttons
- A game instance
In the game instance, I use the Create Local Player node, then I retrieve all the controllers and create a widget using the Add to Player Screen node.
When I press Play, both menus display correctly, the window is split in two, but gamepad 2 doesn’t seem to work in the menu. Even if I’m using a button trigger to print Hello, it’s working for the gamepad 1 but not 2.
However, if I add a character blueprint, both gamepads can control the associated player.
Is gamepad 2 disabled in the UI?
Have I forgotten to do something, or are there one or more settings that need to be changed for this to work?
Thank you for your help !