How do I get UMG UI to show up on each player's screen in an MP game?

I’m setting up a UMG widget in my PlayerController. From tutorials I’ve seen, that seems the best way to do it, but I honestly have no idea how this should work. Here’s the setup I have:

ClientPostLogin on Event Post Login in the GameMode through a cast to the PlayerController

When I launch the game, no UI elements show up at all.

Help please?

PCUIEventGraph.jpg

It’s because your “ClientPostLogin” function is executed on the server.

You can see the “screen” symbol on the widget nodes. This means that these are designed to be called on clients only. You will want to replicate the function from server to client.

So, it turns out a cast upstream wasn’t working so this was never called. I have the UI showing up on both player’s screens. Now I have to figure out how to make them show the same/right info. Any best practices or good tutorials would be greatly appreciated.

@eXi, I had tried all replication options and it didn’t make a difference due to the above. However, I have it set as you suggest now and it at least tries to show the UI. Still haven’t figured out all the other replication settings to get it to show the correct info on the client.

having this issue… how can something so simple be so hard?