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

I have the new Unreal Engine 4.21 version and I have downloaded the WWise Plugin to integrate with Unreal Engine 4.20 version. When trying to use it with the UE4.21, the following error appears:

2>Parsing headers for UE4Editor
2>  Running UnrealHeaderTool UE4Editor "E:\bla\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors
2>E:/bla/UnrealEngine/Engine/Plugins/Wwise/Source/AkAudio/Classes/MovieSceneAkAudioRTPCSection.h(33): error : 'virtual void Serialize(FArchive& Ar) override;' must not be inside preprocessor blocks, except for WITH_EDITORONLY_DATA
2>EXEC : error : UnrealHeaderTool failed for target 'UE4Editor' (platform: Win64, module info: E:\bla\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor.uhtmanifest, exit code: OtherCompilationError (5)).
2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3075: The command "..\..\Build\BatchFiles\Build.bat UE4Editor Win64 Development -WaitMutex -FromMsBuild" exited with code 5. Please verify that you have sufficient rights to run this command.
2>Done building project "UE4.vcxproj" -- FAILED.

I've moved the Serialize method outside the scope of the "#if UE_4_20_OR_LATER" but then more errors appear. 

Before:

#if UE_4_20_OR_LATER

        virtual void PostLoad() override;

       virtual void Serialize(FArchive& Ar) override;

#endif

After:

#if UE_4_20_OR_LATER

        virtual void PostLoad() override;

#endif

       virtual void Serialize(FArchive& Ar) override;

I think the correct thing would be to wait for the update of the plugin to work with version 4.21. When is it expected to be available?

closed with the note: Fixed
in General Discussion by Helghast T. (260 points)
closed by Helghast T.

1 Answer

+1 vote
...