Hi there!
I’m creating a local multiplayer game and I’m having some trouble with handling UI. For a little bit of context I’m using the new input system.
In my game before you can start playing I have a team selector menu. This place is where each player that has joined selects which team they want to play on. What I do is assign the joined players to their own Multiplayer Event System component, which is done by assigning their respective UI input Module to their Multiplayer event system in the Player input component. This all works exactly as intended.
The problem I’m having is when the game ends and UI showing buttons for going to the main menu or replaying another match, only one player is able to control the UI. What I need for this UI is for it to be shared. If one player tries to navigate to the menu button, and then another player tries to move back to the replay button, it the UI should move like: Replay Btn → Menu Btn → Replay Btn. Right now the UI only let’s the first player who joined manipulate this UI.
Does anyone know why this is happening and how I can solve it?