Hi,
I am using FStateTreePropertyRef in a StateTreeTask to bind a FVector to Parameres in StateTree, but it is giving me an error,
in header I define as below
UPROPERTY(EditAnywhere, Category=Out, meta=(RefType = "/Script/CoreUobject.Vector"))
FStateTreePropertyRef Result;
implementation as below.
if (FVector* VectorPtr = InstanceData.Result.GetMutablePtr<FVector>(Context))
{
*VectorPtr = RandomPoint.Location;
}
but it is not working, it it showing errors as below when compiling
Log CompilerResultsLog Undefined symbols for architecture arm64:
Log CompilerResultsLog "FPropertyBindingBindingCollection::GetAddress(FPropertyBindingDataView, FPropertyBindingPropertyIndirection const&, FProperty const*) const", referenced from:
Log CompilerResultsLog FStateTreePropertyRef* FStateTreePropertyBindings::GetMutablePropertyPtr<FStateTreePropertyRef>(FStateTreeDataView, FStateTreePropertyAccess const&) const in Cpp_ST_PickRandompoint.cpp.o
Log CompilerResultsLog UE::Math::TVector<double>* FStateTreePropertyBindings::GetMutablePropertyPtr<UE::Math::TVector<double>>(FStateTreeDataView, FStateTreePropertyAccess const&) const in Cpp_ST_PickRandompoint.cpp.o
Log CompilerResultsLog ld: symbol(s) not found for architecture arm64
Could you please point out where I am doing wrong.
Thanks,