You indeed need to add
Super::GetLifetimeReplicatedProps(OutLifetimeProps); DOREPLIFETIME(MyCharacter, testint);