Server can't find 3D widget in the world. Array returns length of 0

I have a pawn that is spawned by the server and controlled by a client.
There is a 3D widget that loads with the level and is accessible by server and client. The widget counts the score and the number of lives (It’s an arcade mini game).

When the client dies by an enemy, The client pawn fires a ROS event that calls “Get All Widgets of Class” and the array length always comes out as 0. The client pawn is Replicated.

HOWEVER, There is also an actor (Bullet) that ISN’T replicated and can properly access the widget from the array with similar logic. Spawned from clients pawn.

How can I access this 3D widget from the client pawn blueprint?

The 3d widget a component, isn’t it? So it won’t be recognized by the GetAllWidgetsOfClass Node.

Instead, use GetAllActorsWithTag (make sure to give the Actor s with a 3D Widget a specific Tag) and get the Widget Component with GetComponentsByClass.

1 Like

I thought that too but I was able to find it with GetAllWidgetsOfClass with a different blueprint.

I ended up redoing the logic for it and scrapped this way of thinking.