I have specified my root component to be a USceneComponent.
I get this error when i attach UArrowComponent to UScenecomponent
Do you have a forward declaration for UArrowComponent in your Tank.h file after the includes?
class UArrowComponent;
#include “Components/ArrowComponent.h”