I’m trying to expose either a variable or setter function for my UBlackboardComponent on a character, however any time I add a UFUNCTION/UPROPERTY to it my build files with errors like
error LNK2019: unresolved external symbol "__declspec(dllimport) class UClass * __cdecl Z_Construct_UClass_UBlackboardComponent_NoRegister(void)" (__imp_?Z_Construct_UClass_UBlackboardComponent_NoRegister@@YAPEAVUClass@@XZ) referenced in function "void __cdecl `dynamic initializer for 'public: static struct UE4CodeGen_Private::FObjectPropertyParams const Z_Construct_UClass_AVisitor_Statics::NewProp_Blackboard''(void)" (??__E?NewProp_Blackboard@Z_Construct_UClass_AVisitor_Statics@@2UFObjectPropertyParams@UE4CodeGen_Private@@B@@YAXXZ)
and
Binaries\Win64\UE4Editor-BYOC-4485.dll : fatal error LNK1120: 1 unresolved externals
If I remove the UFUNCTION/UPROPERTY from either a setter or variable, the error goes away and my code is just fine, so can I not expose something that uses a UBlackboardComponent to blueprints?