Fail to package with the new Resonance Audio plugin for Wwise

Hello,

As you may know, the google plugin for spatial audio on Daydream in now deprecated and we are invited to move on the Reseonance Audio plugin.

Initialy my project was running on the 4.16 version with the spatial audio plugin and I need to move on the 4.18. But since, I can’t package with the spatial audio plugin (which has not been updated since august or something like that) and i can’t package with the new plugin either.

Here are the kind of errors I have:

UATHelper: Packaging (Android (ATC)):   C:/Users/admin/Desktop/4_18/MyProject/Plugins/Wwise/ThirdParty/android-9_armeabi-v7a/Profile/lib/libResonanceAudioFX.a(libvraudio_api_impl.a_vraudio_api_impl.o):vraudio_api_impl.cc:function std::__ndk1::basic_ostream<char, std::__ndk1::char_traits<char> >::sentry::~sentry(): error: undefined reference to 'std::__ndk1::ios_base::clear(unsigned int)'
UATHelper: Packaging (Android (ATC)):   C:/Users/admin/Desktop/4_18/MyProject/Plugins/Wwise/ThirdParty/android-9_armeabi-v7a/Profile/lib/libResonanceAudioFX.a(libvraudio_api_impl.a_vraudio_api_impl.o):vraudio_api_impl.cc:function std::__ndk1::basic_ostream<char, std::__ndk1::char_traits<char> >::sentry::sentry(std::__ndk1::basic_ostream<char, std::__ndk1::char_traits<char> >&): error: undefined reference to 'std::__ndk1::ios_base::clear(unsigned int)'
UATHelper: Packaging (Android (ATC)):   C:/Users/admin/Desktop/4_18/MyProject/Plugins/Wwise/ThirdParty/android-9_armeabi-v7a/Profile/lib/libResonanceAudioFX.a(libvraudio_api_impl.a_vraudio_api_impl.o):vraudio_api_impl.cc:function std::__ndk1::basic_ostream<char, std::__ndk1::char_traits<char> >::operator<<(unsigned int): error: undefined reference to 'std::__ndk1::ios_base::getloc() const'

Did someone succeeded to package his project with that new plugin ? Or maybe know where it could come from ?

Thanks!

Here are the settings I use:

Thanks for reporting the issue! It should be fixed in the next Resonance Audio 1.2.0 release (which should be out very soon).

To explain the problem, Wwise uses static linking for Unreal project integration. The issue is the C++ library support. Currently, Resonance Audio is compiled against the libc++ whereas Unreal’s Android toolchain uses gnustl which are not compatible (see e.g. here).

There may be a temporary workaround possible, e.g. to modify the Unreal build files to link against the libc++ instead, but as mentioned above, from Resonance Audio 1.2.0 it should not be a problem anymore.