Removing Widget's with overlap

Hey im struggling to fin an answer to my problem. Im using the common UI plugin. I have a base widget canvas that i push my other widgets onto. I have two events on it one to push and one to remove widgets.


On begin play on my player i create it and add it to the viewport.

Then i have an actor blueprint that is essentially just a collision box where on overlap i push a widget to the canvas and on end overlap i remove it from the canvas. The widget that is pushed to the canvas is a public variable so i can just change the variable depending on what i want to load

The widget to remove variable is set in each widget on event construct

It seems to work fine but the problem is it will only add and remove the widget from the first collision box. When i hit a second one i cant get the widget to remove. After some debugging it seems like the widget to remove isnt valid the 2nd time.

Any idea how to fix this?


My actor BP


My Widget BP setting itself as the widget to remove