Unparsed class found while validating DependsOn entries for - when including GameplayTags module in binary build

I get this error when trying to compile my project against binaries.

I don’t have even AIModule included anywhere, and I must say it’s really puzzling.
If anyone could point to what this error generally means I could try to resolve it.

Here is sample project:

https://dl.dropboxusercontent.com/u/70400220/Bugs/GamaplayTagsBug.zip

Just open it and try to build against 4.7.3 launcher version of engine.

I narrowed issue to GameplayTags module. If I add it in PublicDependencyModuleNames or PrivateDependencyModuleNames in any module, this problem will show up.
when I removed it, it started compling but… The issue is I need this module for my project.

Full log:

1>  D:/Unreal/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 GamaplayTagsBugEditor - error code: OtherCompilationError (2)
1>  UnrealHeaderTool failed for target 'GamaplayTagsBugEditor' (platform: Win64, module info: D:\Unreal\Projects\GamaplayTagsBug\Intermediate\Build\Win64\GamaplayTagsBugEditor\Development\UnrealHeaderTool.manifest).
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command ""D:\Unreal\Epic Games\4.7\Engine\Build\BatchFiles\Build.bat" GamaplayTagsBugEditor Win64 Development "D:\Unreal\Projects\GamaplayTagsBug\GamaplayTagsBug.uproject" -rocket" exited with code -1.

Hi,

Thank you for letting us know about this issue. I was able to see the results that you described in the test project that you provided, and then was able to reproduce them in my own test project. I have submitted a report of my findings to have this issue investigated further (UE-12916).

I did notice that this only seems to affect projects that are created using the binary version of the Editor (installed by the Launcher). If you have access to a version of the Engine built from source code, the build error does not appear. I did not try testing the functionality of the module, though.

Thank you.

Yeah, in source version, there is no problem, and it doesn’t really affect me much, since I primarly use source. But other people who wanted to use my code with binary version, had run into these problems (;.