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

+1 vote
Hi,

 

I am trying to create a new UE4 project using UE 4.26.2. I can create one without any issues if I select it as a Blueprint project. However, if I then add C++ code, or if I try to create a new C++ project, I get the following error:

 

Running C:/Program Files/Epic Games/UE_4.26/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project="C:/Users/manta/Unreal Projects/Test_03/Test_03.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Creating makefile for Test_03Editor (no existing makefile)
ERROR: Unable to instantiate module 'AkAudio': System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Epic Games\UE_4.26\Engine\Plugins\Wwise\ThirdParty\x64_vc160\Profile\bin'.
          at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
          at System.IO.FileSystemEnumerableIterator`1.CommonInit()
          at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
          at System.IO.Directory.GetFiles(String path, String searchPattern)
          at AkUEPlatform.GetAllLibrariesInFolder(String LibFolder, String Extension, Boolean RemoveLibPrefix, Boolean GetFullPath) in c:\Program Files\Epic Games\UE_4.26\Engine\Plugins\Wwise\Source\AkAudio\AkAudio.Build.cs:line 54
          at AkAudio..ctor(ReadOnlyTargetRules Target) in c:\Program Files\Epic Games\UE_4.26\Engine\Plugins\Wwise\Source\AkAudio\AkAudio.Build.cs:line 300
       (referenced via default plugins -> Wwise.uplugin)

 

I have followed the instructions on the plugin installation, double, and tripple checked, but I still get this error ONLY when trying to make a C++ project. Again, Everything works fine if I create a Blueprint project. It only breaks when trying to ad C++.

 

Thanks,

Brennan
in General Discussion by Brennan A. (120 points)

1 Answer

+1 vote
I was running into a similar issue -- the problem for me was that I'd copied the entire SDK directory to ...\Plugins\Wwise\ThirdParty\, as opposed to copying the subdirectories individually (i.e. ..\Plugins\Wwise\ThirdParty\x64_vc160 for instance). Can you check to make sure that your ThirdParty folder contains all the folders listed in step 6 of https://www.audiokinetic.com/library/edge/?source=UE4&id=installation.html?

Additionally, I also had to make the adjustment to AkLateReverbComponent.h mentioned here https://www.audiokinetic.com/qa/5834/ue4-engine-plugin-for-sdk-version-2019-6947-1305-fails-compile?show=8709#a8709 in order to get the C++ project to compile successfully.

Hope this is helpful!
by Dave S. (210 points)
That seems to be what the problem was! Thank you.
...