Unless a property is set to REPNOTIFY_Always, we compare the property's received value to the current value on the client before calling the OnRep function.
However, when determining if a fast array item has changed, all that is checked is the ReplicationKey of the item, which is incremented when MarkItemDirty is called. Even if the properties haven't changed, the client still receives the item as a changed element, and so PostReplicatedChange is still called for the item (as well as the fast array's repnotify function if one is set).
Call MarkItemDirty on a replicated fast array item without changing the value of any of the item's properties.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-216954 in the post.
0 |
Component | UE - Networking |
---|---|
Affects Versions | 5.5 |
Target Fix | 5.6 |
Created | Jun 7, 2024 |
---|---|
Updated | Oct 25, 2024 |