在 Audiokinetic 社区问答论坛上,用户可对 Wwise 和 Strata 相关问题进行提问和解答。如需从 Audiokinetic 技术支持团队获取答复,请务必使用技术支持申请单页面。

Unreal Engine 4.21 Plugin Integration FAILED BUILDING ENGINE [已关闭]

+2 投票

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?

问题关闭原因: Fixed
最新提问 11月 9, 2018 分类:General Discussion | 用户: Helghast T. (260 分)
已关闭 11月 26, 2018 用户:Helghast T.

1个回答

+1 投票
...