Replicated structs with multiple properties can have the wrong previous value passed into their rep notify functions if all of the properties do not change in any given frame of replication to the client.
Create an actor with a replicated struct with a rep notify that takes the previous value.
The struct should have properties A, B and C (integers work fine).
In the rep notify log the values from the current and previous structs.
Launch client and server (dedicated or listen).
Change A and C on the server, let it replicate to the client.
Then change B on the server, let it replicate.
Now Change A and C again on the server.
In the logs the previous struct values will not be correct in the rep notify.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-67695 in the post.
3 |
Component | UE - Networking |
---|---|
Target Fix | 4.22 |
Created | Dec 17, 2018 |
---|---|
Resolved | Jan 17, 2019 |
Updated | Mar 22, 2019 |