Forum rules - please read before posting.

Sliding Door Sound Bug?

edited November 4 in Technical Q&A

Hi,
I recently updated to version 1.84.3 and I have noticed that since then, all my sliding doors play the moving sound in loop. They sound used to play fine before. I tried other sounds and it happens the same.

Unity: 2022.3.62f2

Comments

  • What was your previous version? The sound is looped by design, but that's long been the case.

  • edited November 5

    I think it was 1.81
    But the loop stopped when I didn't drag the door. Now the sound keeps playing.

    I followed the implementation you showed in the First Person tutorial.

  • edited November 6

    When exactly is the sound playing at the wrong time? When the scene begins, or once the Player has moved it and stopped?

    The sound always plays on a loop, but its volume is controlled by its speed being above the Min. move speed value. Does it stop being audible if you raise this value?

  • Let me show you the issue with a short video.

    https://i.imgur.com/9lHnyky.mp4

  • edited November 7

    UPDATE: The issue appeared around the same time I updated to the latest AC version AND switched my audio setup to use Audio Mixer Groups. While most sounds work fine with the new configuration, I decided to test switching back to Audio Sources - and the sliding door sound works perfectly again.

    This confirms the problem is related to the Audio Mixer Group implementation, but I'm puzzled as to why only this specific sound is affected while everything else works correctly.

  • Open up AC's Sound script and comment out this line around line 367:

    volume = 1f;
    

    I honestly can't recall why this is in there, but I will look into it.

  • Scratch that.

    Open up DragBase and replace the two instances of:

    SetVolume
    

    with:

    ChangeRelativeVolume
    
  • Yes! That fixed! Thanks a lot!

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.