I created a Missile class in a third-person template.
When I wrote in the Missile class:
UPROPERTY(VisibleAnywhere, BlureprintReadOnly, Category = "Arrow", meta = (AllowPrivateAccess = "true"))
UArrowComponent* ArrowComponent;
ArrowComponent = CreateDefaultSubobject<UArrowComponent>(TEXT("ArrowComponent"));
It has been looking for UArrowComponent in Character.h, not in ArrowComponent.h.
If I use a blank template there is no such problem
How can I fix it?