Audio Crash

Hello,

I am using 4.12.3 and every time

95808-1.png

i play my game after a while the engine crashes with this:

Thank you.

Hey ,

Are you presented with a Crash Reporter window when the game crashes?

If so, could you provide me with the logs from the crash so I can investigate further?

Just to be clear, is this a crash associated when running a separate instance from the editor i.e. Packaged game run from the executable?

If you can provide me with as many details that pertain to this crash, then we can effectively troubleshoot this issue.

Thanks,

Hello ,

This happens when i run a standalone window.
I am not presented with anything. Everything just shuts down and i am left with that message.
It is the first time my game crashes with an audio exception since i started using the engine 2 years ago.

It is not happening always but most of the times.

I am sorry that i cannot provide a repo case, but this seems like a ghost bug and i believe it is related with the new work that took place in the audio department.

Cheers.

So I did some digging and spoke with the right engineer about the potential cause of this issue and how to get it fixed. Essentially what is happening is a source fails to initialize and doesn’t clean up the Xaudio2 buffer. Technically it’s a memory leak, but the assert is there to prevent/catch a memory leak. It is much better for you to get an assertion than to allow the memory leak to occur, which can cause other issue across your game/project.

I have entered a bug report for the issue UE-32492. Once the issue has been addressed by our engineers, the fix will be added to the release notes for fixed issues within an upcoming full engine or hotfix release.

Let me know if you have further questions or need additional assistance.

Thank you,