I have some widgets that I have created and attached to screen with blueprint code inside a playerstate children class. I check if the pawn related with the playerstate class is locally controlled and then i get the pawn player controller reference that I use when creating the widget.
I keep references to these widgets in variables in the playerstate class.
When I press F8 while playing in editor and detach the controller all these widgets dissapear and do not return to view when pressing F8 again. This only happens in the main editor window when I run multiple instances (ie 2 players with play standalone, no multiplayer involved here). It does not happen in the other small editor window instances.
I have ckecked the widgets references and still contain the widget names (seem these are not being destructed or garbage collected).
Widgets I create from the player controller class do not dissapear. Anyone has an idea of what could be happenning here?