Download

Game crashing pushing/popping SoundMix modifiers

Hi all,

I’m pushing SoundMixes whenever the player aims down sights in our game to duck all ambience. If the player stops aiming down sights, the SoundMix is popped. With several people this has caused crashes. I’ve looked at the code to see where it’s going wrong but I can’t figure it out myself. Here’s the error message: "Assertion failed: SoundMixState -> EndTime > = 0.f && AudioTime >= SoundMixState -> EndTime (Line 2213 in AudioDevice.cpp). I’ve attached an image of the SoundMix asset settings as well. It must have something to do when the player rapidly switches between ADS’ing and not ADS’ing.

Help is very much appreciated, thank you!