Forum rules - please read before posting.

Pause Menu with Unity UI prefab - Flickers on and off

Adventure Creator V.1.81.7
Unity version: 2022.3.26f

Hi @ChrisIceBox

I am trying to create a new series of menus using Unity UI prefabs.
I linked a new pause menu Prefab to the default Menu>>Pause in Menus
https://drive.google.com/file/d/1IQRDT0gvhV3vo3mWDoviUHgtigRECI_M/view?usp=sharing

I set the menu to appear type: On Input Key when the Menu key is pressed.
What happens is that when I press "esc" the menu flickers on for less than a second and then it goes off again.

Is there anything that I need to setup in the Menu Manager maybe? Like a System Event prefab? And if yes what steps to I need to follow? Thanks.
https://drive.google.com/file/d/1DE5pCuDSdRVk43yuxataiIJ0N7J3W0Xg/view?usp=sharing

Note that if I press the InGame menu the newPrefab UI Pause Menu appears and behave correctly.

Comments

  • Ok, that's weird. Trying to do different things to check the problem I removed "Menu" from the Toggle Key field in the Menu properties. And now the menu appears and stays active correctly. How comes?

  • The Pause Menu keeps appearing pressing "esc" even if the appear type is changed to Manual.

  • Have you recently used the New Game Wizard to generate your menus?

    The updated way of handling the Pause menu's toggling via the Menu input is to rely on an Active Input, rather than using the "On Input Key" appear type. If you open up the Active Inputs window from the top toolbar, check if it's listed there.

  • Yes, I used the New Game Wizard.
    Ok, I found the Active Input. So the conflicts was between this and the On Appear Type on the menu, I guess? I'll leave the Appear type on the menu as "Manual". Thanks.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.