Widget Component set to screenspace not removing from screen on server travel

We have been having a issue since 4.17 where widgets that are a widget component set to screen space do not get removed from the viewport after server travel. We have tried handling it in the BeginDestroy, and PreClientTravel. We cannot seem to get rid of this bug.

  • It is a UWidgetComponent added to the player class C++
  • The Widget class is set in blueprint onto the component
  • the widget is set to cast to screen space form the blueprint

Any insight into this issue would be greatly appreciated.

Will you solve this problem?I also have the same question and can not find any answer,can you help me?