I managed to solve it, but none of these alternatives worked. One thing I noticed is that “remove all widgets” or “remove from parent” or even “get all widgets” weren’t working. Apparently they detected it and did their job, but as the blueprint for this submenu was in the player controller it was loaded again. So I changed the player controller from the empty main menu level and loaded the game’s player controller into the game. That is, I need two player controllers in the game. It wasn’t exactly what I wanted but it worked, I couldn’t hide the submenus using the same player controller. But thanks anyway, I learned some things with your help! Happy New Year to you!
1 Like