[BUG] Some Widget nodes do not work anymore after adding the Widget on Screen Again (video)

Hello.

I have a inventory widget with a few funtionalities, when I press the View button, an animation have to play and another widget becomes visible.
It is working, but only in the first time the inventory widget is created and added to the viewport. If you close the Inventory Widget and open it again, the View button fires the Event, but the nodes do not works.

You can see it in the video, with breakpoints it is possible to see that the event is firing, but the animation and the visibility of the other Widget do not work anymore.

Video link: - YouTube

I think it is a bug, since there is nothing different in others functions, events, etc.

Thanks if epic can help me

Hello FilipeTessaro,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, could you provide a detailed list of steps to reproduce this issue on our end?
  3. Could you provide screen shots of any blueprints that may be involved with this issue?

Hi Rudy

That is a problem, I can´t reproduce the same in a blank project. but at the same time, can´t find what is causing that.

Could it be something with a reference, maybe?

the weird thing is that works only if you never close the inventory, if you close it, it stops working…but the event keeps firing as before

Hello FilipeTessaro,

When you close the inventory, how are you doing it? Are you removing the widget from parent, or are you collapsing the widget or other?

hmmm, it is removing from parent, and creating again when opening… may be that indeed…
but all others fuctions works perfectly, only this one that don´t…

if you remove it from parent you dont need to create it again, just add it to the viewport. it would help if you post some screenies with the blueprint showing how you hide it and how is the widget being constructed.

Hello FilipeTessaro,

Could you provide more screen shots of the blueprints and functions that are involved with this issue?

I solved the problem changing the way the inventory is beeing openned, instead of creating it every time, it just toggle the visibility.

But, as seen in the video, I can´t understand why the event is beeing fired, but nothing “inside” the event works, very weird…