Forum rules - please read before posting.

Audio from scene heard between navigation of menus

edited April 2020 in Technical Q&A

There is some audio from scenes that can be heard playing between navigating from the main "Pause" menu to the "Options/Settings"; And from the "Pause" menu to the "Save" and "Load" menus. Understandably it's due to the game being "unpaused" between each menu.

Found a thread that already described fairly accurately the same issue I'm experiencing:
https://adventurecreator.org/forum/discussion/3492/while-browsing-menu-i-can-hear-the-audio-for-a-fraction-of-a-second

I've tried the possible solutions mentioned there, such as:

  • In the "Music Storage" library, seeing that the music that plays during the scenes is not set to play when the game is paused (the box is unchecked)

  • Unchecking "unfreeze pause menus" for all ActionLists that have a part in navigating from the "Pause" menu to the other menus mentioned above.
    The ActionList for the button that turns on the "Options/Settings" menu:
    https://imgur.com/a/SYHbQDT
    And the ActionList that runs when the "Options/Settings" menu turns on:
    https://imgur.com/a/vJ4iJR2
    As well as the ActionList for the button that turns on the "Save" menu:
    https://imgur.com/a/3bA36Xs
    And the ActionList that runs when the "Save" menu turns on:
    https://imgur.com/a/M0nTFn1

  • Testing setting the "Actionlist when turn on" to "None", and setting "Transition type" to "None" (This was done just to test and see what would happen (e.g. if it was causing a lag in-between menus)

  • Also I set up each of the menu buttons' so that they're run through Actionlists (Menu: Change State action) -- and set them to fade each menu with "wait until finish" (and not use the "Crossfade" option in the Menu Manager).
    Question: is a "canvas group fade" needed if the "fade in" has been already been added into the Actionlists via Menu: Change State?

None of these seems to do the trick yet, though.
Using AC 1.70.4 and Unity 2019.3.9f1.

Thank you again for any assistance that can be provided!

Comments

  • It's also important to note that all the menus are created in Unity UI.

  • edited April 2020

    Thanks for the details - I'll attempt a recreation.

    is a "canvas group fade" needed if the "fade in" has been already been added into the Actionlists via Menu: Change State?

    Yes - the Action's "fade" should really be named "transition", as this option will simply use whichever transition style you opted for in the Menu's properties.

  • This may be down to a change in Unity - I'm only getting it to occur in 2019.3, not with earlier versions.

    I shall look further.

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.