Skip to content

Music cross fade bug #3

@umaqs

Description

@umaqs

Music cross fade bug has this little bug.
How to reproduce:

  1. Play level from Menu scene and return back to menu.
  2. Change master volume from options menu.

As both resources are playing a clip and in cross fading coroutine, only volume is set to 0. Changing the volume would change it for both of sources and you can hear both of musics playing at same time.

How to Fix :
Adding the following line at the end of "AnimateMusicCrossFade" method should fix it.
musicSources [1 - activeMusicSourceIndex].Stop();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions