Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

+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.
...