Error in your repository

For those of us that skip through quickly and get the code from repository, you have this line entered incorrectly:

OwnerComp.GetBlackboardComponent()->SetValueAsObject(GetSelectedBlackboardKey(), playerPawn);

should be:

OwnerComp.GetBlackboardComponent()->SetValueAsVector(GetSelectedBlackboardKey(), playerPawn->GetActorLocation());

Privacy & Terms