No sound on Oculus Quest

Hello!

My game audio works fine on Windows but when I deploy and run it on Oculus Quest (Android) I get no sound at all. I think the issue is that no audio device is detected. GEngine->GetMainAudioDevice() gives nothing. I have tried with both the speakers and a headset, and both AudioMixer and Oculus Audio are enabled. Does anyone have a clue on what’s wrong?

I have made some discoveries. Audio actually works fine when I use Blueprint to play a regular USoundCue, but when I use C++ to play a USoundWaveProcedural with UGameplayStatics::PlaySound2D nothing happens.