Widget resetting variables to default

I have had this issue many times before and I am getting it again. Why does this issue continue to crop up? Has anyone figured out the fundamental causes? I can’t complete my project with this issue.

No I even created a new variable to test whether something else was setting it. Get the exact same issue.

I create the widgets and then later I set the item id of this widget whenever I update the inventory. If I print the value before setting it the value is correct. If I check it some time later it has been reset to the default value for no reason.

Any details, references, other threads about it?

You gotta give us something to work with. :slight_smile:

As you know, a widget does not reset values, not normally. Consider providing a semblance of circumstances at least. What makes this case different? What are you doing with those widgets?

Otherwise it is a bit like working under the assumption that 20 is a lot.

Hi Everynone,

I’m having the same issue…maybe you can help me or someone from this post can. I get a Blueprint runtime error: “Accessed none trying to read property inventorypanel” Node Clear children etc etc…
So, I have a BP Widget called Menu and I renamed my uniform grid panel; inventory panel and set it as a variable in my widget. Other calls in different Blueprints work towards it but when I try to clear children in my pickup item function under my character Blueprint it comes up as “none”. I took a closer look at the default value of my variable, and it says “None” there’s no way of changing the default value? So, I’m a bit confused here…

Can we see how you’re doing it?

Sure, here is a screenshot of what I’m trying to accomplish. Even in the clear children it says the target is the panel widget…

Separate thread:

HI i have the same problem my widget reset veriables to default values when reopening