Hi Unreal Community,
this problem is driving me insane and I have no proper solution for this.
I would be very thankful if someone could help me.
What I want to achieve:
I want to have looping music that persists even when traveling to a new level or restarting the level.
The error occuring:
When I restart the level or go to a new map the audio just stops. This only happens when the audio is set to “looping”. Audio that doesn’t loop plays as expected and doesn’t stop.
To reporduce the error:
- In your Level BP spawn the audio and make it persist.
- Make sure the audio you spawn is set to loop (indefinitely).
- Build a way to restart your level. E.g. by pressing R to open the level you are currently in.
I found out that limited loops (e.g. 5 times) work fine aswell. But when set to something like 99999 the error occures again.
It seems to have something to do with audio that mustn’t be too long. But I have no idea.
I also tried persistent levels with streaming a level that plays the audio. But the same error occures.
So thanks in advance for helping me fixing this problem!