Random Song Selection in Unity

I have three events in FMOD that are all different music tracks. Is there a way in Unity to select one of the three songs at random at the start of the gameplay?

Haven’t tested this, but I think you can:

  1. Use an Multi Instrument set to Async (Shuffle or Random mode):


  1. Insert your tracks into a single Event and use a Game Parameter with a Random Modulator to jump to a random song at the start of the Event:

  1. Simply use Random.Range in the code and manually play an event based on the return value.
1 Like