Creating new groups in the Audio Mixer on runtime.

Dear devs,

I am currently building an adaptable music sequencer for use in games as a replacement of external plugins like FMOD or Wwise. It is pretty basic with a main script controlling ‘music-states’ which in turn control ‘music-layers’.

I have currently made it in a way that I can easily add states by adding an instance to the array in the main script. What I would like is to create a new group in the Audio Mixer for each state when the game starts, so I won’t have to manually create each group every time I start a new project.

I currently only managed to assign all the audio sources to existing groups by code, but I couldn’t find a way to create new groups in the Audio Mixer.

I hope you guys can help me, if the option at all exists…

Thanks!
Ruben

2020 still no solution?