Binding a progress bar color and text to 2 variables works before the next save

Steps to reproduce (note that you might be able to reproduce this easier):

  1. Make a widget that has a canvas as a root, add a text block and a progress bar.
  2. Bind a string to the label’s text property and a linear color to the progress bar’s color. Set the progress bar to 0.5 so you can see it.
  3. Instance in another widget a few of the previously defined widget.
  4. Start playing with the two variables for all instances.
  5. Expected results: The color of the progress bar changes as you fiddle with the color picker and the text box gets updated as you change the information in the variable property input box.
  6. Actual results: It happens as expected, but as soon as I save / compile, it reverts to the component’s defaults and no matter what I fiddle afterwards, it remains in the defaults, which is a light blue and “Text Block”.

Now when I compile it, it works as intended, but while editing, it stops working as expected.

Could you post a screenshot of the variables?

You can have the widgets themselves :smiley:

37436-playerstatbar.zip (50.6 KB)

Hello ,

I was unable to reproduce this issue on our end. I have a few questions that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. What version of the engine are you using?
  2. Can you reproduce this issue in a clean project?
  3. If so, could you provide a detailed list of step needed to reproduce this issue on our end? (If there are any differences from those that were provided in the original post)
  4. Could you be a little more clear on how exactly you are changing the variables before they are reverted back to defaults?

This might sound silly, but UE4 gets really tired the longer it runs.

I have a bad issue of not closing it down, and then nodes stop working, data does not get updated, etc etc.

You may of already done this, but shut down UE4, restart computer, then see if it happens.

Fixed a lot of issues I thought I had.

  1. 4.7.4
  2. I already described how to.
  3. I already described how to.
  4. I save and compile the widget after modifying it. By modifying I mean binding another variable to another property of a widget component.

I made a zip with the widgets. See above. Just add them to a new project. Any would do.

I have tried to reproduce this issue on my end in both a clean project and a project using your assets and I cannot reproduce this issue on our end. Have you tried saving assets in another project to see if this occurs in all of your projects and not just the one that you are currently working on?

I think that hardly has any QA value. Would a video of me doing all this help?

Hello ,

If you would like to make a video I will be more than happy to take a look at it. Maybe seeing your exact work flow will help narrow down where the issue in occurring.

Hello ,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.