Are RPCs working from ActorComponent without setting the ActorComponent to replicates but only the Actor?

That’s fine - don’t forget you can also always just disable property replication on certain properties too, like so:

void UMyComponent::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const
{
	Super::GetLifetimeReplicatedProps(OutLifetimeProps);

	// Disable Unused Properties (Always active + always replicated)
	DISABLE_REPLICATED_PRIVATE_PROPERTY(UActorComponent, bIsActive);
	DISABLE_REPLICATED_PRIVATE_PROPERTY(UActorComponent, bReplicates);
}
3 Likes