How does rep-notification work for composite objects ?
I have this code setup (pseudo code):
The replication of SharedName (when modified through a server rpc) works well but the OnRepFunction is never called.
Isn't the modification of SharedName considered a modification of SharedProperties ?
If no, is there any function i could call to warn the engine that SharedProperties has been modified, a way of forcing replication at will so to speak, like UObject::HeyIHaveBeenModifiedDoYourJob() ?
I was wrong, the replication did not work.
I was (mis)lead to think it worked because i was creating SharedProperties using the PICP in the constructor, so i was literally working on only one object, giving an impression of replication.
When using the NewObject function i could check that the replication did not occur.
It seems that UObject are not meant to replicate.
I am closing this one.
answered Nov 21 '14 at 11:03 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here