UMG widgets added as a split screen player are not cleaned up after the player leaves

I just upgraded the engine to 4.11 and the most notable issue I’ve found is that UMG widgets owned by a non-primary player and added to the view port, are not removed when that local player is destroyed, or when the game transitions to a new map.

There used to be a bug like this existing all the time, but now it appears to happen only for non-primary players.

If you guys at epic are too busy, where are UMG widgets cleared so they can be destroyed? I might be able to go and fix it myself.

Thanks.

Hi Constan7ine,

Thanks for the report! It looks like you’re right, UMG widgets aren’t clearing when the player is removed. I’ll take a look into it and see where the bug is happening and how involved a fix will be.

I’ve identified the problem, and logged it in our system under UE-29207. We’re planning to address it in the next hotfix. In the mean time, if it’s causing you a lot of grief, you can temporarily remove the widgets manually before you remove the player. Thanks again for your report!

No problem, assuming the next patch takes a week or so to fix we’ll hit our next milestone without the bug. Thanks for your help!