Forum rules - please read before posting.

Issue with Load and Save menu in navigation mode

Hi everyone,
AC 1.70.0 + Unity 2019.2.17f1 on a 2d game.

I'm in navigation mode with controller and I have this kind of issue with Load and Save menu. In another thread I thought to have solved the problem but I was wrong (https://adventurecreator.org/forum/discussion/10550/question-about-navigate-menus-directly-with-controller/p1).

Here how it's my Load (and Save) menu in Unity: https://drive.google.com/file/d/1u3WiyxSIdzvzRBaXTPyeQ0a9FDY4fT0e/view?usp=sharing
and in AC: https://drive.google.com/file/d/1wHoVpWE7KRX0rQmGspKr2DG88nizjott/view?usp=sharing
If I have all the slots full it's perfect: I can navigate from a slot to another till back button, without problem.

The issues starts when I have only some slots and the others empty. Here the behaviour: https://drive.google.com/file/d/1yC3GtIgjuwGVmsycbsqHSjK_L0KktZKZ/view?usp=sharing
Till I'm in the visible slots it's ok, but, if I try to go on back button I can't, the selection disappears and I don't know where I'm (I tried to press down more then 10 times so it doesn't recognize the empty slots).

I put as navigation Vertical, because with Automatic it can go also right (and not only up and down) and when I press the right button the selection disappears.

I tried to solve putting "When invisible" in the save list to "Clear content" and this is the behaviour: https://drive.google.com/file/d/17yDwnuYgFqV-EV-uzd45HN1ZTD_zGlqH/view?usp=sharing

As you can see now I can navigate on the filled slots, then, if I press down again I can navigate on the empty slots (even if I can't see) and, after 7 click on down button, I can select back button.

Same problem with Save menu: in this case I can navigate from the filled slots to back button (in the case i have only a few slots filled), but I can't move from back button to up till the slots. If I have all the slots there's not problem.

Is there a way to jump from the last filled slot to back and viceversa without navigating in empty slots or loosing the selection?

Comments

  • Leave it set as "Disable Object" - otherwise, the object will still be detected by Unity's Event System.

    Keep your Unity EventSystem object open in the Inspector and expand the bottom. It will display the currently-selected element. What does it get set to when you navigate down from the last-visible slot?

    What are your AC and Unity versions? The default Save menu behaves correctly once set to the same settings as yours. Try a fresh project with the latest AC, use the New Game Wizard to create a Unity UI-based interface and configure direct-navigation on the Saves menu. Does it work correctly for you there?

  • Keep your Unity EventSystem object open in the Inspector and expand the bottom. It will display the currently-selected element. What does it get set to when you navigate down from the last-visible slot?

    Sorry but I don't understand. Actually I haven't a Event System (Script) attached to every button. Do you mean I have to attached this script to every button on my Load Menu UI?
    AS here: https://drive.google.com/file/d/151fv3LukIjhFekYCguQR-3WIGMq4zcF7/view?usp=sharing

  • No, don't do that. It's a per-scene component, not per-object.

    AC will spawn an Event System into the scene automatically at runtime - it'll be in the root hierarchy.

    You'll then have to expand the bottom by clicking the very bottom of its Inspector window, which should then display the selected object.

  • Sorry, now I undestand. Here the result in a little video: https://drive.google.com/file/d/1xT3Lypt_ViJd3uOgG-MzZ9tf3J6P2mp8/view?usp=sharing

    I see the correct element when I enter in the load menu (first slot), the second one and the third (correct), but, when I click down again, it seems to loose the element.

  • Finally I solved: I had a Slider script that made crazy the navigation. I deleted it and now all works correctly. Thank you very much for your patience.

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.