PrimaryActorTick.bCanEverTick = true;
PrimaryActorTick.bStartWithTickEnabled = true;
this->AvatarComponent = CreateDefaultSubobject(TEXT(“AvatarComponent”));
this->AddInstanceComponent(this->AvatarComponent);
this->AttributeSet = CreateDefaultSubobject(TEXT(“AvatarAttributeSet”));
if(this->AvatarComponent)
{
UE_LOG(LogTemp, Warning, TEXT(“AvatarComponent is zero after Ctor!”))
}
how may this code run into the print statementß? Any Suggestions on resolving?