I started asking around on the BepInEx discord and they directed me here because this is a core unity concept - i'm trying to hotload wav files to replace audio assets as they play in game - it successfully swaps the soundclip with something else but no audio actually plays.
var www = UnityWebRequestMultimedia.GetAudioClip(wav, AudioType.WAV);
www.SendWebRequest();
var clip = DownloadHandlerAudioClip.GetContent(www);
if (www.result != UnityWebRequest.Result.Success)
{
Debug.Log(www.error);
return true;
}```