UActorComponent not Ticking

myComponent = CreateDefaultSubobject<UMyClass>(TEXT("MyName"));
myComponent->RegisterComponent();
myComponent->PrimaryComponentTick.bCanEverTick = true;
myComponent->SetComponentTickEnabled(true);

Also check that this code runs in both constructors: default and with (const FObjectInitializer& ObjectInitializer)

1 Like