goncasmage1/UINavigation

Root level widget not being removed after level transition

infinstarlight opened this issue · 1 comments

Hey there!
I'm using a duplicate of the Simple Pack Main Menu widget for my project and I had it set to not remove if root. And when I start a new game (by using OpenLevel) the main menu widget persists over my gameplay level even though it is supposed to be removed. The widget is being added by my player controller from a Game Mode override.

image
The main menu level

image
The gameplay level with the main menu widget persisting

My current solution is to the Gameplay GM (the default within project settings) check if the widget exists and then remove it on the HandleStartingNewPlayer event (not sure if its the most appropriate, just seemed like the better option)

image
Temp solution events

I had double checked the overrides, made sure the widget wasn't being created elsewhere and had reenabled the allow remove if root option and the issue remained. Is this consistent behavior or is there a bug here?

I appreciate the help in advance!