How do you properly enable input for an actor that one of the player characters wants to control?

Functionality Target:
I want any player in a multiplayer session to be able to enable input on an actor they are trying to interact with. Once input is enabled, the player can press a key to trigger input actions (IA) that are placed inside the actor.

Problem:
The first player can interact with the actor (which has its own camera), and can also uninteract successfully — returning control to their own camera. This confirms that the input actions inside the actor are working correctly for Player 1.

However, when the second player tries to interact with the same actor, the camera blend works, but the player cannot uninteract. The Enable Input node doesn’t seem to work for the second player, and as a result, the input actions (IA) inside the actor aren’t being triggered.

Question:
What do I need to change to make this work correctly for all players?

P.S. I have just started to learn multiplayer aspects of UE5.

Thanks for any help!)




EnableInput / DisableInput must be executed on client-side not on server-side.

So you either want to place them in your very first event (IA_Interact), or, if you prefer to wait for server validations, replicate something after the whole server execution flow so that your client can enable/disable input accordingly.

1 Like