Heya! I’m having a heck of a time trying to convert a blueprint function into C++
Here’s what i’m trying to convert:
/** Please add a function description */
UFUNCTION(BlueprintCallable, Category="Tags")
void AppendGameplayTagContainers(const FGameplayTagContainer & InTag);
Things to note, my Project.build.cs looks like:
` PublicDependencyModuleNames.AddRange(new string[] { "Core", "GameplayTags", "CoreUObject", "Engine", "InputCore" });`
And here’s what I got directly out of UE5 that said it was the C++ preview:’
||/** Please add a function description */|
|---|---|
||UFUNCTION(BlueprintCallable, Category=Tags)|
||void ApplyTags(const FGameplayTagContainer Tags);|
Here’s my errors
XXX.gen.cpp.obj : error LNK2019: unresolved external symbol “private: void __cdecl UXXX::AppendGameplayTagContainers(struct FGameplayTagContainer const &,struct FGameplayTagContainer &)” (?AppendGameplayTagContainers@UXXX@@AEAAXAEBUFGameplayTagContainer@@AEAU2@@Z) referenced in function “public: static void __cdecl UXXX::execAppendGameplayTagContainers(class UObject *,struct FFrame &,void * const)” (?execAppendGameplayTagContainers@UXXX@@SAXPEAVUObject@@AEAUFFrame@@QEAX@Z)
C:\Users\YYY\Documents\Unreal Projects\XXX\Binaries\Win64\UnrealEditor-XXX-5950.dll : fatal error LNK1120: 1 unresolved externals