Hey,Thanks for your answer!
I Modified the function like this :
void MyCharacter::GetLifetimeReplicatedProps(TArray< FLifetimeProperty > & OutLifetimeProps) const
{
Super::GetLifetimeReplicatedProps(OutLifetimeProps);
DOREPLIFETIME(MyCharacter, testint);
}
but still, the testrepfunc() doesn’t get called whenever testint changes value.
Got any idea?
Please let me know!