Im turning this into a bug report as I think this doesn’t actually work! (and nobody on the forums or answerhub seem to know about it)
I’ve started trying to follow this tutorial
And added empty versions of the files - MyGameplayDebuggingComponent (AIDirectorGDC) and MyGameplayDebuggingHUDComponent (AIDirectorGDHUDC). I then figured out that this line
“GameplayDebugger module has to be added to project’s dependency modules to be activated and usable.”
Probably means do this
PublicDependencyModuleNames.AddRange(new string[] { "AIModule", "Core", "CoreUObject", "Engine", "GameplayDebugger", "InputCore", "UMG", "Slate", "SlateCore" });
When I compile, I get this…
Code:
1> AIDirectorGDC.cpp
1> AIDirectorGDHUDC.cpp
1>C:\Program Files\Epic Games\4.10\Engine\Source\Developer\GameplayDebugger\Classes\GameplayDebuggingHUDComponent.h(12): error C2653: 'EAIDebugDrawDataView': is not a class or namespace name
1>C:\Program Files\Epic Games\4.10\Engine\Source\Developer\GameplayDebugger\Classes\GameplayDebuggingHUDComponent.h(12): error C2065: 'Type': undeclared identifier
1>C:\Program Files\Epic Games\4.10\Engine\Source\Developer\GameplayDebugger\Classes\GameplayDebuggingHUDComponent.h(12): error C2923: 'TEnumAsByte': 'Type' is not a valid template type argument for parameter 'TEnum'
1>C:\Program Files\Epic Games\4.10\Engine\Source\Developer\GameplayDebugger\Classes\GameplayDebuggingHUDComponent.h(15): error C2653: 'EAIDebugDrawDataView': is not a class or namespace name
1>C:\Program Files\Epic Games\4.10\Engine\Source\Developer\GameplayDebugger\Classes\GameplayDebuggingHUDComponent.h(15): error C2061: syntax error: identifier 'Type'
1>C:\Program Files\Epic Games\4.10\Engine\Source\Developer\GameplayDebugger\Classes\GameplayDebuggingHUDComponent.h(15): error C2535: 'FDebugCategoryView::FDebugCategoryView(void)': member function already defined or declared
1> C:\Program Files\Epic Games\4.10\Engine\Source\Developer\GameplayDebugger\Classes\GameplayDebuggingHUDComponent.h(14): note: see declaration of 'FDebugCategoryView::FDebugCategoryView'
1>C:\Program Files\Epic Games\4.10\Engine\Source\Developer\GameplayDebugger\Classes\GameplayDebuggingHUDComponent.h(16): error C4624: 'FDebugCategoryView': destructor was implicitly defined as deleted
1>C:\Program Files\Epic Games\4.10\Engine\Source\Developer\GameplayDebugger\Classes\GameplayDebuggingHUDComponent.h(14): error C2512: 'TEnumAsByte': no appropriate default constructor available
1> C:\Program Files\Epic Games\4.10\Engine\Source\Runtime\Core\Public\Containers\EnumAsByte.h(13): note: see declaration of 'TEnumAsByte'
1>C:\Program Files\Epic Games\4.10\Engine\Source\Developer\GameplayDebugger\Classes\GameplayDebuggingHUDComponent.h(15): error C2065: 'Description': undeclared identifier
1>C:\Program Files\Epic Games\4.10\Engine\Source\Developer\GameplayDebugger\Classes\GameplayDebuggingHUDComponent.h(15): error C2065: 'InView': undeclared identifier
1>C:\Program Files\Epic Games\4.10\Engine\Source\Developer\GameplayDebugger\Classes\GameplayDebuggingHUDComponent.h(15): fatal error C1903: unable to recover from previous error(s); stopping compilation
Does anyone have an example of a working GameplayDebugger and know what Im doing wrong?
Thanks