Download

Player Controller Building UI Too Late

Hey all,

I’m running into a problem where I have the Player Controller handle the UI for each player. On PlayerController BeginPlay, I create the widget and assign it to PlayerUIMain.

Problem is, on game initialization, I have a bunch of information that is fed to the Player Controller through BP interfaces (such as the date from GameMode when a player logs in, health from the PlayerCharacter on its BeginPlay, etc.).

So far, I have managed to just Delay the information being inputted by 1 Sec, but I’m wondering if there is a better way to approach this?

Thanks all!

Hello :smiley:
I had that same problem at one time,I delayed it aswell and it worked but i found it better to use RPC’s and spawn/update them as needed on the client.
Not sure if it helps xD