We have integrated Wwise for UE4 v2015.1.2 build 5457.
I am attempting to play a sound Event through the PostEvent functionality.
The Sound bank that contains the Event is not loaded upon startup. I successfully load the sound bank by use of:
PrepareBank(Preparation_Load, BankName, Structure_Only), this returns AK_Success.
I then attempt to load the media of the Event by using:
PrepareEvent(Preparation_load, EventName), this returns AK_Fail; Error: Cannot open file: <file_num>
I am also creating a PrepareEventMemoryPool upon Initialization of AK:
initSettings.uPrepareEventMemoryPoolID = AK::MemoryMgr::CreatePool(NULL, 40 * 1024 * 1024, 1024, AkMalloc);
// (Optional) Give the memory pool a name. This can be very useful for profiling.
AK::MemoryMgr::SetPoolName(initSettings.uPrepareEventMemoryPoolID, L"EventPool");
Am I doing something wrong in PrepareBank or PrepareEvent? I feel that I have followed the documentation on the site yet it fails.
If I fully load the Sound Bank then I am able to play the Sound just fine.
Any help would be greatly appreciated.