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

I had the same problem. No Component Ticking. I solved it with this code in Actor’s Constructor:

PlayerStateComponent = CreateDefaultSubobject<UPlayerStateComponent>(TEXT("PlayerStateComponent"));
PlayerStateComponent->SetMobility(EComponentMobility::Movable);  // In case if you add it to a ACharacter/APawn
PlayerStateComponent->SetupAttachment(RootComponent);
PlayerStateComponent->RegisterComponent();
PlayerStateComponent->PrimaryComponentTick.bCanEverTick = true;

It has worked out after restarting an editor.

1 Like