AudiokineticのコミュニティQ&AはWwiseやStrataのコミュニティ内でユーザ同士が質問・回答をし合うことができるフォーラムです。Audiokineticテクニカルサポートチームからの回答をご希望の場合は、必ず サポートチケットページ をご利用ください。

Can't package game with Wwise as an Unreal Engine plugin

+2 支持

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

Ricky H. (120 ポイント) 2021 2/19 質問 General Discussion

回答 1

+1 支持
I'm getting the same issue here. Any thoughts?
Angel R. (190 ポイント) 2021 3/3 回答
...