Hi all, I have a little problem with a widget, in fact I create a widget when the player controller has a bp_player, I’m in this configuration because the player can have another character and therefore not display the same widgets. It works well on the server player, but on the client it doesn’t work, so I get none on my target widget variable (only on the client). Do you have an idea of how and where to create this widget for the client? Knowing that I must create this widget only if the player controller has chosen to play this class at the start of the game, otherwise it spawns in another bp.
(ah yes and the widget once created must call a populate target function I don’t know if that changes anything)
The Event On Possess
only gets called server-side.
Meaning that on a client this will never execute.
What you could do instead is creating an RCP that runs on client only and from there you create your widget.
2 Likes
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.