Search
  • Shiro Chen

How to integrate your custom made Wwise Plugin into Unreal Engine 4


Note that the following methods are used for integrating Wwise into Unreal Project(not Engine).


For Static Library:


1. Create a new UE4 project

2. Follow the integration instructions on Wwise documentation and use Wwise

Launcher to integrate Wwise into the UE4 project.

3. Find the Wwise folder under Plugins folder within the UE4 project folder

4.make sure the

UE4_Project\Plugins\Wwise\ThirdParty\x64_vc160\Release\lib

UE4_Project\Plugins\Wwise\ThirdParty\x64_vc160\Profile\lib

has the related .lib file

5.Find AKAudio.Build.cs within \UE4_Project\Plugins\Wwise\Source\AkAudio, and add the plugin's name to this code

public class AkAudio : ModuleRules

{

private static AkUEPlatform AkUEPlatformInstance;

private List<string> AkLibs = new List<string>

{

"AkSoundEngine",

"AkMemoryMgr",

"AkStreamMgr",

"AkMusicEngine",

"AkSpatialAudio",

"AkAudioInputSource",

"AkVorbisDecoder",

"AkMeterFX",

"TTSPluginSource"// Your Plugin name here

};

6.Find AkAudioDevice.cpp under UE4_Project\Plugins\Wwise\Source\AkAudio\Private

add the plugin .h to here.

// Wwise plug-ins

#include <AK/Plugin/AkVorbisDecoderFactory.h>

#include <AK/Plugin/AkMeterFXFactory.h>

#include <AK/Plugin/TTSPluginSourceFactory.h> // Your plugin here

if theres atls.dll problem. right click on the Project->Properties->VC++ Directories->General->Library Directories

add this file path

C:\Program Files %28x86%29\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\atlmfc\lib\x64

7.rebuild the project



For Dynamic Library:


Does not need to modify any code or add include


1. Create a new UE4 project

2. Follow the integration instructions on Wwise documentation and use Wwise

Launcher to integrate Wwise into the UE4 project.

3. Find the Wwise folder under the Plugins folder within the UE4 project folder

4.make sure the

UE4_Project\Plugins\Wwise\ThirdParty\x64_vc160\Release\bin

UE4_Project\Plugins\Wwise\ThirdParty\x64_vc160\profile\bin

has the related .dll file

5. Rebuild the project

10 views0 comments

Recent Posts

See All

Anything interesting. It might be a random song that I'm currently listening to. It might also be some game audio programming study notes or anything that I'd like to share. Stay tuned!