Community Q&A

Where Wwise users help each other out!

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

Wwise crashes UE4 while packaging a c++ project

+1 vote

ue4: 4.24
wwise: 2019.2.1.7250

Two issue currently
1) wwise crashes unreal engine during a package of a c++ project. That said, if it's a BP only project (not an option for us though) then it does package, however, we still see problem #2. If I disable wwise package builds just fine, as expected.



 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2) I assume this is the case for c++ too, but can't get that to work. In a BP only packaged project there isn't any audio. In the ue4 log I am seeing the following.

LogStreaming: Error: Couldn't find file for package /Script/AkAudio requested by async loading code. NameToLoad: /Script/AkAudio
[2020.04.06-01.22.52:391][  0]LogStreaming: Error: Found 1 dependent packages...
[2020.04.06-01.22.52:391][  0]LogStreaming: Error:   /Game/Map_test
[2020.04.06-01.22.52:393][  0]LogStreaming: Error: ****DumpDependencies [Dependencies]:
[2020.04.06-01.22.52:393][  0]LogStreaming: Error:     Export 3 /Game/WwiseAudio/Main_SoundBank.Main_SoundBank
[2020.04.06-01.22.52:393][  0]LogStreaming: Error:     Linker is ../../../Test_Wwise/Content/WwiseAudio/Main_SoundBank.uasset
[2020.04.06-01.22.52:393][  0]LogStreaming: Error:         Dep C_BEFORE_S Export     1    /Game/WwiseAudio/Main_SoundBank.Main_SoundBank:AkAssetPlatformData_0     (class AkAssetPlatformData)
[2020.04.06-01.22.52:393][  0]LogStreaming: Error:         Dep S_BEFORE_C Import     5   /Script/AkAudio.AkAudioBank
[2020.04.06-01.22.52:393][  0]LogStreaming: Error:         Dep S_BEFORE_C Import     2   /Script/AkAudio.Default__AkAudioBank
[2020.04.06-01.22.52:393][  0]LogStreaming: Error: Missing Dependency, request for /Script/AkAudio.AkAudioBank but it hasn't been created yet.
[2020.04.06-01.22.52:393][  0]LogStreaming: Error: Could not find class AkAudioBank to create Main_SoundBank
[2020.04.06-01.22.52:393][  0]LogStreaming: Error: ****DumpDependencies [Dependencies]:
[2020.04.06-01.22.52:393][  0]LogStreaming: Error:     Export 1 /Game/WwiseAudio/Main_SoundBank.Main_SoundBank:AkAssetDataWithMedia_1
[2020.04.06-01.22.52:393][  0]LogStreaming: Error:     Linker is ../../../Test_Wwise/Content/WwiseAudio/Main_SoundBank.uasset
[2020.04.06-01.22.52:393][  0]LogStreaming: Error:         Dep S_BEFORE_C Import     3   /Script/AkAudio.AkAssetDataWithMedia
[2020.04.06-01.22.52:393][  0]LogStreaming: Error:         Dep S_BEFORE_C Import     0   /Script/AkAudio.Default__AkAssetDataWithMedia
[2020.04.06-01.22.52:393][  0]LogStreaming: Error:         Dep C_BEFORE_C Export     2    /Game/WwiseAudio/Main_SoundBank.Main_SoundBank     (class AkAudioBank)
[2020.04.06-01.22.52:393][  0]LogStreaming: Error: Missing Dependency, request for /Script/AkAudio.AkAssetDataWithMedia but it hasn't been created yet.
[2020.04.06-01.22.52:393][  0]LogStreaming: Error: Could not find class AkAssetDataWithMedia to create AkAssetDataWithMedia_1

Etc. Today is my last shot at getting Wwise working before we have to go another route, please someone help out!

asked Apr 6, 2020 in General Discussion by Jason B. (120 points)

1 Answer

0 votes

Hello,

Sorry you are experiencing issues with the integration. Here are a few pointers for your problems:

1) It looks like the Paper2D plugin is crashing during a Commandlet execution. Could you try disabling the plugin? You can do so in the Plugins window (Edit > Plugins). You will need to restart the Editor.

2) There are known issues with the integration and Blueprint-only projects. Could you try converting your project to C++ by following this guide? https://allarsblog.com/2015/11/05/converting-bp-project-to-cpp/, and then packaging again? 

answered Apr 7, 2020 by Benoit S. (Audiokinetic) (16,000 points)
Hey this worked guys, thank you. Maybe it would be good to have a "Packaging Unreal Engine 4" section somewhere, with info about things like this. Thank you.
...