Simply compiling and launching the unmodified IntegrationDemo for Nintendo Switch crashes immediately. We see the same error in the same location in our own integration in our project.
Log Output:
Assertion Failed! D:/Jenkins/ws/wwise_v2018.1/Wwise/SDK/source/SoundEngine/3rdParty/Common/tlsf/tlsf.cpp:555: block_size(block) >= size
Assertion Failed! D:/Jenkins/ws/wwise_v2018.1/Wwise/SDK/source/SoundEngine/3rdParty/Common/tlsf/tlsf.cpp:369: prev && "prev_free field can not be null"
Assertion Failed! D:/Jenkins/ws/wwise_v2018.1/Wwise/SDK/source/SoundEngine/3rdParty/Common/tlsf/tlsf.cpp:370: next && "next_free field can not be null"
Unhandled exception at ????????:
0x00000002: Access Violation of Data
Callstack:
IntegrationDemo!block_locate_free(pool_t* pool, unsigned int size) Line 556 (????) C++
IntegrationDemo!tlsf_memalign(tlsf_pool* tlsf, unsigned int align, unsigned int size) Line 905 (????) C++
IntegrationDemo!AK::MemoryMgr::Malign(int in_poolId, unsigned int in_uSize, unsigned int in_uAlignment) Line 638 (????) C++
IntegrationDemo!AkFXMemAlloc::Malloc(unsigned int in_uSize) Line 41 (?????) C++
> IntegrationDemo!operator new(unsigned int size, AK::IAkPluginMemAlloc* in_pAllocator) Line 95 (????) C++
IntegrationDemo!AkCreateDefaultSink(AK::IAkPluginMemAlloc* in_pAllocator) Line 33 (????) C++
IntegrationDemo!AkDevice::CreateSink() Line 615 (?????) C++
IntegrationDemo.nss!CAkOutputMgr::_AddOutputDevice(long long unsigned int in_uKey, AkOutputSettings& in_settings, unsigned int in_uDeviceInstance, AkSet<unsigned long long, AkHybridAllocator<8, '\x08'>, 1>& io_listeners, AkSetType in_elistenerSetType, bool in_bMainDevice, bool in_bDummyIfFail) Line 842 (????) C++
IntegrationDemo.nss!CAkOutputMgr::InitMainDevice(const AkOutputSettings& in_MainSettings) Line 924 (?????) C++
IntegrationDemo.nss!CAkAudioMgr::ProcessMsgQueue(bool in_bDrainMsgQueue, bool& out_bDeviceSwitch) Line 1753 (?????) C++