UActorComponent::TickComponent(...) not ticking for some reason.

I ran to the same issue in UE5.4, where the component tick doesn’t work even though it was enabled both at the component and parent’s constructors.

I found an easier solution by adding the following line in the parent/owner’s BeginPlay() or PostInitializeComponents() function override:


MyComponent->PrimaryComponentTick.bCanEverTick = true;

So my code in the character’s CPP file:

void AMyCharacter::PostInitializeComponents()
{
 Super::PostInitializeComponents();

MyComponent->PrimaryComponentTick.bCanEverTick = true;

}