Using the GameplayTags module in a code project created with the binary version of the Engine results in a build failure in Visual Studio. The following error is shown:
1> D:/Epic Games/4.7/Engine/Source/Runtime/AIModule/Classes/BehaviorTree/Decorators/BTDecorator_BlueprintBase.h(217) : Unparsed class 'TemporaryUHTHeader_GameplayTagContainer' found while validating DependsOn entries for 'BTDecorator_CheckGameplayTagsOnActor' 1>Error : Failed to generate code for TestGameplayTagsEditor - error code: OtherCompilationError (2)
The same project will build fine when using a version of the Engine built from source code.
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "GameplayTags" });
RESULT:
The build will fail with the error:
1> D:/Epic Games/4.7/Engine/Source/Runtime/AIModule/Classes/BehaviorTree/Decorators/BTDecorator_BlueprintBase.h(217) : Unparsed class 'TemporaryUHTHeader_GameplayTagContainer' found while validating DependsOn entries for 'BTDecorator_CheckGameplayTagsOnActor' 1>Error : Failed to generate code for TestGameplayTagsEditor - error code: OtherCompilationError (2)
EXPECTED:
The build completes successfully.
WORKAROUND:
This appears to work fine in versions of the Engine that are built from source code.
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Foundation - Core |
---|---|
Affects Versions | 4.7.3 |
Target Fix | 4.9 |
Fix Commit | 2562196 |
---|
Created | Mar 27, 2015 |
---|---|
Resolved | May 22, 2015 |
Updated | Feb 5, 2017 |