Hey all. I’m working on a game that uses a bunch of metasounds, some being played continuously using audio components and some with “Play Sound at Location.”
During the first few minutes of play, everything sounds as it should. After that, I am getting a bug where most or all of the sounds start playing a single metasound instead of the intended sound.
I can see this happening with the au.3dVisualize.ActiveSounds
console command, but after looking through the audio cli, I’m not sure what other commands can help me find the bug.
Based on the behavior, it feels like it could be some kind of memory leak, where some overflows results in the wrong sounds getting played, but really I have no idea.
Any recommendations for how to debug this or best practices for metasounds I might be missing? (e.g. is using Play Sound at Location a problem?)