You’re using Single Player (index) nodes in a multiplayer setting.
The “Player Index” value refers to an index in an array of joined players.
0 → Player 1
1 → Player 2
2 → Player 3
3 → Player 4
On Clients Index 0 refers to themselves in all cases/scenarios.
On Dedicated Server, Index 0 ALWAYS refers to the first player.
On Listen Server, Index 0 ALWAYS refers to the HOST… the server itself.
FYI, Player UI should ALWAYS be handled by the controller class. Widget Creation, adding to view port etc.
To get a Controller reference from UI you use Get Owning Player. This will return a generic player controller reference.
On clicked -> Get Owning Player...
All your Session logic should be called from the Controller class itself. In the UI you’d use a BP Interface call on the generic controller reference.
BP Interface
Widget
Controller Class



