Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

LogAkAudio: Warning: Freeing media memory because parent asset was destroyed

+8 votes
We are in the process of upgrading from the unreal Wwise integration 2021.1.3.7665.2079 to 2021.1.4.7707.2130.

However this has introduced many warnings during cooking saying "LogAkAudio: Warning: Freeing media memory because parent asset was destroyed".
Since we have a zero warning policy this is causing this to fail our pre-checkin checks, and I have been asked to confirm why this warning has been added.

This UE_LOG Warning was added to UAkMediaAssetData::IsReadyForFinishDestroy() as part of the changes to the newer version, and looks to be warning of a potential memory leak.

However we are not doing anything special as far as I can see, so can you advise us on how we can prevent this warning from occurring?
Is it actually as a result of a memory leak which has been caught, or alternatively is that warning just for information and this is the intended data flow?
asked Nov 30, 2021 in General Discussion by DAve S. (180 points)
Hey Dave, just wondering if you ever found a cause/fix for this (or did you simply downgrade the UE_LOG Warning to a Log/Verbose)?
Hi James,

Currently we have removed the warning and opened a ticket.
This is in the system as WG-56935, if you wanted to look out for it in future release notes.
This wasn't fixed at all, running into this with 2021.1.9

Please sign-in or register to answer this question.

...