Is Deactivated PlayerState not replicate?

In MyPlayerState class I made member field as replicated property.

if ClientA which has MyPlayerStateA disconnected from Dedicated server, then the server change value of member in OnDeactivated.
I expected MyPlayerStateA has change in Client B but didn’t.
why?

Correct, it doesn’t replicate when inactive. You can see that’s the case if you look at AGameMode::AddInactivePlayer() at this very specific line:

// make PlayerState inactive
NewPlayerState->SetReplicates(false);
1 Like