After unpause of game Options window is still open

Hello i have problem . I made UMG menu and have pause and resume on same key but the problem is when i unpause game with “end key” from Options my Options window is still there but game resumes and keeps going. but if i restart game and resume game from Menu ( not Options) with" end key" the Menu is removed and game resumes. How can i fix the Options Menu when i pressed unpause key ?

here is a blueprint

I would guess it’s due to some strange tick factor. When paused, most actors don’t tick by default. There’s an option to enable this under class defaults, but ‘not ticking’ doesn’t just mean the tick function. Various things won’t function as expected, such as delays.Widgets are an exception to this. They function the same when paused or not from what I’ve seen.

Also, perhaps it’s a part of this problem or maybe not, your game state variable is not actually being set there. It needs to be connected otherwise it won’t actually be set. So if you’re running off a branch that’s checking game state, perhaps it’s only ever going to the top adding more and more menus.

Actually the pause and resume works normally but the thing is when i open options and unpause game no matter how i try Option widget just wont disappear untill i restart game once agin

this is the resume and pause works normally

but the main problem is that it wont remove the options as it is removing the menu. Well maybe i am only stupid and don’t see it in there but am fast learner :smiley: and learning from my own mistakes is the best.
sry for my english. It is not my main language

Well, I’d guess it depends on how you create the options menu then. If you’re creating it through the pause menu, you could store it as a variable in the pause menu widget, and remove it during the pause menu’s destruct event. That way whenever the main menu is gone, it will remove the options menu as well I’d think.

Fixed it now other problem when i click back button from options in game it return in InGameMenu . but when i press unpaue button the menu sticks there still but the thing is when i make varible in options i cant link it in MyCharacter BluePrint cuasei would need to create options widget first then link it to varable then remove it from viewport …

Edit: Could give you my skype or Teamviewer id/pass if you could help me with it i would be happy cuase its annoying " fix one thing… next 20 will pop up"