Description

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.

Steps to Reproduce

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.

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-67695 in the post.

3
Login to Vote

Fixed
ComponentNetworking
Target Fix4.22
Fix Commit4747117
Main Commit4804559
Release Commit4862694
CreatedDec 17, 2018
ResolvedJan 17, 2019
UpdatedMar 22, 2019