Why is this widget not hiding?

This is being run on the player pawn blueprint. You mean move the widget creation to the player controller? What event should I use to create the widgets at spawn, does the beginplay event in player controller run on all instances as well?

Edit:
It seems I was able to answer my own question with some testing. I moved all the creation actions to the player controller and setup a couple of casts to manipulate the visibility of the widgets instead of using the reference variables I had setup. Everything seems to be working and I verified there were no duplicates with get all widgets of class>for each>print index.

I would still like to know if beginplay in the player controller is the best place to create the widgets on player spawn, or if there is a better way to do it.

Thank you! It would have taken me a very long time to figure out there were duplicates on my own.

This also makes me wonder: I am setting a camera reference in the BeginPlay event in the player blueprint (where I was creating widgets before moving them). Is this going to cause a problem similar to the widget issue? I haven’t noticed anything… yet…