Improving performance and bandwidth utilization
Although Unreal Engine strives to maximize the efficiency of replicating Actors, it is typically a time-consuming process that can negatively impact performance. To facilitate this task, there are a few steps that you can take to optimize replication and make it more efficient. In this section, I will give you some advice on how to improve performance and avoid bottlenecks that may stop your game from working efficiently.
Turning on replication only when necessary
When replicating Actors, the server performs various checks, such as relevance, frequency of updates, and dormancy, among others. Avoid turning on replication on Actors that won’t need this feature to put them off these checks.
If you really need Actor replication, consider fine-tuning NetUpdateFrequency
for less important (or less frequently changing) Actors. This property will set the maximum update frequency over the network for the Actor. As an example, a...