Download

Audio not switching between Desktop and VR at runtime

I’m trying to make a pretty simple project mostly just trying to get a proof of concept together. I have the FPS template. I am trying to make it so that I can easily switch between Desktop and VR at runtime. I’ve essentially added a key press event with a flip flop node on EnableHMD passing in true or false. When I build out the project, it successfully switches between Desktop and VR but, the audio does not. For some reason I can’t get it to change to the device or back to the desktop. Is there a way to do this in Unreal? I’ve asked on several forums but, no one seems to be able to give me an answer. Any help would be greatly appreciated.