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.
Request a info about UE-127172 bug tracker
I am not able to find world outliner how to enable it?
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
How to properly terminate the DoWork thread function in FAsyncTask?
I cant package my project, tried to search online but could not find any answeres
How to achieve HLSL Multiple Render Target in Material blueprints?
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 |