Forum rules - please read before posting.

Controller UI Navigation Not Working with Vanilla Custom Inventory

Hi,
I've put together a custom inventory following the steps here:
https://adventurecreator.org/tutorials/creating-inventory-bar-unity-ui

However, even without deviating from the tutorial, the controller/joypad navigation (and keyboard navigation) seems to cease to work when using the new prefab. (mouse navigation seems to work fine) In fact, testing by creating a duplicate of Assets/AdventureCreator/UI/InventoryUI.prefab, renaming it, and setting it up via the Game Editor's Menu Manager also results in not being able to navigate it using the controller or keyboard.

Using the native inventory **does **allow proper controller/joypad and keyboard navigation.

For clarity, the controller, joypad, and keyboard all work fine across every other AC system in the game.

I'm using Adventure Creator v1.71.6

Any idea how to solve this issue?

Thanks and best regards,
-Juan

Comments

  • If the Menu doesn't pause the game, you'll have to enable navigation during gameplay using the Engine: Manage systems Action.

    When using Unity UI-based Menus, you also have to specify which element is selected first at the bottom of the Menu's properties.

    See the Manual's "Navigation menus directly" chapter for full details.

  • Hi Chris, thank you for the quick reply!

    Indeed, this has allowed us to select and move the inventory items on-screen.

    Now we're finding that if we enable "Direct-Nav In-Game Menus" upon bringing up the inventory, our hotspots (currently set to "player vicinity") disappear, which prevents us from being able to drop the items onto the hotspot.

    Do you know what may be causing this?
    Thank you and best regards.

  • edited February 2021

    If you select an item in the Menu, the active Hotspot will become de-activated until you re-activate it with the item selected. Are you saying that Hotspots are no longer responsive once an item is selected?

    Even if it's in a backup/duplicate project, try the latest AC release, so that we can determine if this is still an issue. If so, share steps and screenshots of your setup/settings so that I can attempt a recreation.

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.