SetText not updating in game
Hi, I have been working on setting up authentication for a multiplayer game I am making and am having an issue with putting name tags above players heads. Everything works well except when I want to change that tag from the default when the player connects, I run this blueprint script:
But no change occurs on the widget editable text or text render component (I have tested this with both) the text does not update in game for anyone. No matter what I do, this is still what shows up above player heads:
(Logging in is the default text for the widget component)
When I run the set text node it works without error and seems to change the text value of the widget (getText returns the new text edit), but the actual visual representation does not update. I have messed around with replication settings on the custom event, widget, and player controller but nothing changed. Any help is appreciated, thanks.
asked Mar 18 '17 at 09:45 AM in Using UE4
I managed to get the text to update by ensuring that the setText blueprint node is being run inside of the widget's blueprint.
answered Mar 19 '17 at 01:32 AM
You can also use the ToString node to convert the Text, then convert back to Text, which will update a Widget Text variable Binding.
answered Apr 07 '19 at 05:27 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here