Commit Graph

2 Commits

Author SHA1 Message Date
Ryan Gerleve
04eb6c3ae6 Update network prediction tests. Emulate only sending changed properties of the prediction driver, which fixes an issue in the tests where serializing the FNetworkPredictionProxy every tick was causing it to be reconfigured every tick. As a result, frames of the frame data buffer were being overwritten unnecessarily, due to the PendingFrame check in UNetworkPredictionWorldManager::ConfigureInstance.
#jira UE-170936
#rb justin.hare
#preflight 6435a51a1f33a0b34ad00a6c

[CL 24995447 by Ryan Gerleve in ue5-main branch]
2023-04-11 14:42:05 -04:00
Ryan Gerleve
05fe661f71 Added NetworkPrediction plugin unit tests and utilities covering basic simulation ticking in forward prediction and interpolation modes.
Added some APIs to the plugin to support unit testing without needing a UWorld, actors, etc.

#jira UE-182327
#rb mattias.hornlund
#preflight 642da9944d26bcd1eb1200b9

[CL 24931730 by Ryan Gerleve in ue5-main branch]
2023-04-05 13:25:07 -04:00