Widget Interaction Multiplayer Doesn't Click

Hello everyone,

I am making a multiplayer game in which players can score by pressing buttons. I set up a widget interaction component on the player controller so that the buttons can be in widgets. The problem I am having is that while hovering works on both client and server, only the server can increase their score. I can increase the score on the client machine but it isn’t sent up to server. What I have tried:

  1. Have the input event call a server rpc
  2. Have the widget call a server rpc
  3. Give each player a unique virtual index
  4. have input event not ‘consume input’
  5. Enable hardware input on widget
  6. put Widget Interaction Comp. on pawn
  7. No collision volume in the way
  8. Setting a ray cast every tick to Widget interaction custom Custom Hit Result
  9. Widget uses On Pressed instead of On Clicked (On Clicked doesn’t work either)

Weirdly, It worked a couple of times when it was on the pawn, but never again. I cannot reproduce and so I am wondering if it is some kind of race condition. Any insight on what might cause this would be much appreciated.

Thank you!

You can’t call multicast events directly from client. You should first call event that is replicated to server and there call multicast event.