Currently, I am in the process of developing a WebGL program that involves changing scenes at specific time intervals. Each scene change requires destroying the previous scene and loading a new one, which includes loading various texture files. Alongside this, there is audio playing continuously throughout the program that should remain uninterrupted during the scene transition.
Although the program functions well overall, I have noticed a slight hiccup in the audio playback just before the new assets finish loading when transitioning to a new scene. Despite the fact that all assets, including the audio files, are relatively small (500k or less), this issue persists.
I am seeking advice on how to prevent this minor interruption during the loading process. Any suggestions or solutions would be greatly appreciated!