Audiokinetic의 커뮤니티 Q&A는 사용자가 Wwise와 Strata 커뮤니티 내에서 서로 질문과 답변을 하는 포럼입니다. Audiokinetic의 기술 지원팀에게 문의하고 싶으신 경우 지원 티켓 페이지를 사용해주세요.

[Unreal Engine 4.21] Wwise crashes my game when launching it on NX

0 투표

Hello there,

I am porting my game to Switch and I've been having crashes in the WWise (version 2018.1.4.6807.1189) part of my code when attempting to launch the game with the following call stack 

  !block_prepare_used(pool_t* pool, block_header_t* block, long unsigned int size) Line 567 () C++

> !AK::MemoryMgr::Malloc(int in_PoolId, long unsigned int in_ulSize) Line 538 () C++

  !CAkSink::Init(AK::IAkPluginMemAlloc* in_pAllocator, AK::IAkSinkPluginContext* in_pSinkPluginContext, AK::IAkPluginParam* in_pParams, AkAudioFormat& in_rFormat) Line 94 () C++

 !AkDevice::CreateSink() Line 633 () C++

  !CAkOutputMgr::_AddOutputDevice(long unsigned int in_uKey, AkOutputSettings& in_settings, unsigned int in_uDeviceInstance, AkSet<unsigned long, AkHybridAllocator<8, '\x08'>, 1>& io_listeners, AkSetType in_elistenerSetType, bool in_bMainDevice, bool in_bDummyIfFail) Line 830 () C++

  !CAkOutputMgr::InitMainDevice(const AkOutputSettings& in_MainSettings) Line 912 () C++

  !CAkAudioMgr::ProcessMsgQueue(bool in_bDrainMsgQueue, bool& out_bDeviceSwitch) Line 1753 () C++

  !CAkAudioMgr::Perform() Line 496 () C++

  !CAkAudioThread::EventMgrThreadFunc(void* lpParameter) Line 76 () C++

 

The error is an Access Violation of Data.

When remotely connecting to the Switch, the WWise profiler shows that two sound banks are successfully loaded (less than 16MB) a few seconds before the crash but no error/warning messages. I am guessing the issue would come from insufficient audio memory size however attempting changing the default pool size does not do the trick. The sound banks do not seem to be corrupted either.

Did anyone already met a similar issue ?

Edit : The crash is happening with the versions 4.20 and 4.21 of the Unreal Engine

문의 2019 1월 10 General Discussion Mathieu J. (100 포인트) 로 부터
수정 2019 1월 16 Mathieu J. 로 부터

1 답변

0 투표
Hey!

Did you manage to get it working?

If so could you please help us. We have the same issue.

Kind regards,
Damian
답변 2019 8월 19 Damian K. (180 포인트) 로 부터
...