Replicate change of the text

Hey! I’m trying to make a game with multiplayer in it but got some problems with replication.
I have a radio with 3d ui on it and the best way is to replicate all the buttons and interactions. For now I don’t really understand how to replicate changes of text in TextRender

When host is interacting with it all is working and text is changing on server and client
But when client is trying to interact with it nothing happens

It seems pretty logical to me but it doesn’t work
How can I fix it?

Text is stored and created on a client. Where are you trying to run this code from?

Since Widgets are Client Only, you would need to send the text to some variable stored in some other location which talks to the server. I think you should be able to do this from the Player State, character or Game State, etc.

This is a good showcase of which systems talk to each-other:

As you can see, the UMG Widgets, they are not in the overlapping area hence the issues you are getting.

Yeah, thank you so much you helped me a lot!
I’ll definitely try it

1 Like