Hello. I am here to report a bug I’ve discovered with loading long audio files on sound channels. I’ve run into this issue when playing music files with Play Sound because of Play Music’s looping issues.
Stop Sound Channel events don’t appear to work for audio files that haven’t loaded into memory, creating an unstoppable phantom sound.
The following circumstances causes this to take place:
- Play a large audio file on Channel 1.
- Fire a Stop Audio on Channel 1 event before the sound has loaded.
- Play another large audio file on Channel 1.
The first sound will stay and, if set to loop, play forever; Stop Audio on Channel 1 events will only end the most recently played file.
I should also mention that I have only run into this bug whilst swapping scenes. I am unaware if that has anything to do with it as I cannot replicate the issue consistently myself.
I’ve tried putting Stop Sound Channel commands at exiting and entering a scene after first encountering this bug and even with those in place on a new version, it still happened during my playtester’s gameplay.