Does Garbage Collection handle Widgets that have been removed from it's parent?
Floating Combat Text keeps an array of combat text widgets and reuses them by enabling and disabling them, and changing the Visibility.
Status Effect and Combat Text adds a combat text widget to the viewport each time it need to display new damage text, plays the animation, and sets a delay to then remove it from it's parent.
So, what approach should I be taking for doing floating combat texts? will the garbage collector actually remove them from memory after I remove them from their parent?
asked Jun 20 '16 at 05:48 PM in Using UE4
I had a bug occurring in a multiplayer game I am working on where a widget would sometimes not disappear on a client player's death even when removed from parent. Using the "Collect Garbage" blueprint node did indeed get rid of the lingering widget. :)
Follow this question
Once you sign in you will be able to subscribe for any updates here