SetupAttachment can only be called in the constructor (CDO)
You can use AttachToComponent
So
TestArrow->AttachToComponent(Camera,FAttachmentTransformRules::KeepRelativeTransform)
Ofc you can have more refined control with the FAttachmentTransformRules as a parameter and set it more in depth.