I have been having this issue with changing a widget’s text component. When running, the text updates from the default “BLANK” (
) to the required text that is read from the array passed into the ChangeOptionBoxes node (
). In the widget’s BP graph (
) I am setting the text and then printing it to the screen after it is set. When doing this the first time “BLANK” is replaced with the first options of the array and those options are also printed to the screen. On all other iterations of this function, the options are printed to the screen from the widget BP but the UI in game is not changing. Does anyone know what could be causing this or how to fix this issue?
This is screenshot of where ChangeOptionBoxes is called:
So wait, the Option 1,2,3 Strings print fine but when you push the text in, it does not display in the text blocks? When you say the text blocks do not update - they remain / become empty or their text does not change.
Correct. They load the first text options but when setting them to the next options the text does not change and stays as the first options. And yes If I print the actual string before setting the text box those strings are correct.
Thanks that is cleaner. Sadly no luck so far. I have tried reworking the code and now have the options bound to something instead of calling an update text function. I am getting the same results of the backend printing the text correctly but it not actually being set for the UI. The binding appears somehow broken…