The SoundComponent stop() method should stop all slots.
It does stop if the audio asset is set to preload.
However if the audio asset is not set to preload the sound doesn’t stop.
Here is a test project
February 21, 2021, 9:02pm
@vaios - I think this is the problem I was facing with the mute button in the Star-Lord demo.
February 21, 2021, 9:19pm
There’s a fix for this due next patch release.
In my test project the audio asset is about 30 seconds long and set to autoplay and loop. If I call stop after about 1 minute the audio doesn’t stop. Load must have finished, so I wondered if your fix will also fix this test case?
February 21, 2021, 10:08pm
It’s easy to verify. Just run your scene with the latest ‘dev’ build of the engine:
Seems to have resolved it. We’ll deploy the patch within the next 48 hours (assuming we don’t uncover any issues during testing).
February 21, 2021, 10:19pm