Download

Function getting called from one player to another not spawning widget for the right player

So I’m new to these forums and relatively new to Unreal also, so bear with me. I’m trying to spawn a widget to player1’s viewport everytime player2 does something, so I call a function on player1 from player2 that spawns the widget, simple right?

The problem is that every time I try it, it spawns the widget on the wrong player’s viewport, the weird thing is that I know that I have the right player since I can do other things with it just not that. It does the same thing if I use player1 to call the function on player2.

I’m using one blueprint for both players, so does that have something to do with it? Any help would be greatly appreciated!