how to make a widget not garbage collected ?

Yes holding the widget reference is somewhere right approach so it can be fired/made visible again.

You can create the widget->Hold reference to it

You can either add/remove from viewport or hud, better keep it in viewport and adjust visibility as ->visible/collapsed (if commonly fired widget)

1 Like