When Variable Changes Text Doesn't Update in HUD

If you have a UMG widget embedded into the main HUD and update the text on the embedded widget it doesn’t update.

I setup the text to have a binding with a variable.

89809-gettext.png

I then setup the bind variable to alternate between two different variables.

If the ‘Bind Text’ variable is set without the ‘text’ variables attached it updates. But if I attach the ‘text’ variables the bind text changes back to what the ‘Bind text’ was originally set to before any variables were attached.

This only happens to embedded widgets as if I try this in the main HUD it updates fine with the variables attached to the ‘bind text’ variable.

I have been able to reproduce this in a new project as well.

Hi Tocs,

I have not been able to reproduce this error on my end.

  • What steps can I take to recreate this error?
  • Does this occur in a clean, blank project with no additional content or is it limited to one project?
  • Have you tried using a timer instead of a custom delay loop?

Hi ,

Here are the steps to take to reproduce the bug.

Create a new blank blueprint project. Create a new character blueprint. Create a game mode blueprint. Create two widget blueprints.

Open the character and from begin play add a ‘create widget’ and add widget1 then draw out and ‘add to viewport’. Compile

Open world settings and change the game mode to the new one and change default pawn class to the new character.

Open widget two and add text to the top left. Select it and make a binding to the text. Like below.

89809-gettext.png

Change to the graph and off event construct set the new bind text variable. Then manually set some text.

Open widget1 and add widget2 to the centre.

Hit play and the manually set text should display.

Add a new variable to the set bind text variable and change the new variable to something different. If you hit play it wont update to the hud, it will stay to what it was before.

If you then disconnect it and type something different manually again it will then use that, but if you then connect the variable it will revert to the originally set value.

This is frustrating as i’m using a widget with a single button with text that then gets dropped into another widget multiple times but it wont update the text unless I manually set each button. So I cant simply use an array or the data tables that have all the text stored.

It depends on how many layers of inception go on of how weird it acts. If you repeat it again through a third widget the variable seems to stop being able to update from the top most level. But only able from the next down.

I hope this helps you find the issue.

Do you have a sample project where this is occurring? Thus far I have not been able to recreate this error on my end.

Hi Tocs,

We have not heard from you in several days. I am marking this as answered for tracking purposes. If you are still experiencing this error, please comment with the requested information.

Sorry for the delay I have been busy.

Please follow the below link for the project files.

Hi Tocs,

I did some digging and have found that this appears to be a known issue, UE-29479.

,You have it set on a loop. it does sequence a, then continues to repeat sequence a until its done again and again, it is on an infinite loop, never getting to sequence b.

(Or is that the sole functions purpose as ‘flip flop’?)