I am trying to pause and resume a scene on button press for a pause menu. I figured I should be able to toggle audio playback for all sounds of a scene by setting
audioEnabled = false all sounds stop as expected, but playback seems to continue at random parts of the sound when I set it to
sound.play() on a single sound file works, iterating over
scene.mainSoundTrack.soundCollection as in
SceneAudioComponent.enableAudio() works too.
Playground behaves the same as my local tests: Babylon.js Playground
I believe it’s supposed to work via
audioEnabled and that’s why I am filing this as a bug. Hope you have any idea what is happening or where I might be wrong, thanks in advance!