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.

+2 votes

In our previous game, we had Wwise installed as a Game plugin. This causes the issue that every time UE hot-reloads any c++ code and you then run the game, it crashes inside the AK code, because game plugins don't play nice with hot reload. We worked around it by having a source-control shelf which quickly disabled audio, and worked a lot with audio off. Not ideal.

In our new game, I've installed Wwise as an Engine plugin. I followed the instructions here: https://www.audiokinetic.com/library/edge/?source=UE4&id=installation.html (under 'Installing the Wwise Unreal Plug-in as an Engine Plug-in'), which almost worked, except that I found I had to first build Wwise as a Game plugin, and then move its entire /Intermediate folder into the Engine plugin.

Now I have a Wwise Engine plugin, and audio works, and has no issue with hot reloading. Great!

Except... I'm not able to make (Windows) packages this way. When I try I get this error:

  1. UATHelper: Packaging (Windows (64-bit)): ERROR: Missing precompiled manifest for 'AkAudio'. This module was most likely not flagged for being included in a precompiled build - set 'PrecompileForTargets = PrecompileTargetsType.Any;' in AkAudio.build.cs to override.
  2.  
  3. PackagingResults: Error: Missing precompiled manifest for 'AkAudio'. This module was most likely not flagged for being included in a precompiled build - set 'PrecompileForTargets = PrecompileTargetsType.Any;' in AkAudio.build.cs to override.
 
I've edited AkAudio.build.cs, and added:
  1. PrecompileForTargets = PrecompileTargetsType.Any;

inside the AkAudio constructor, but I get the same error.

For now, my workaround is that I manually move the Wwise folder out of the UE4.26/Engine/Plugins folder, and into my game whenever I want to package, and then move it back when I want to do development, which works, but seems a bit broken and fiddly.

Has anyone succeeded in having Wwise as an Engine plugin and be able to build packages?

I'm currently using Wwise 2019.2.9.7459  and UE 4.26.1

thanks,

Ricky

in General Discussion by Ricky H. (120 points)

1 Answer

+1 vote
I'm getting the same issue here. Any thoughts?
by Angel R. (190 points)
...