Is it better to replicate multiple variables or a structure (If possible)

In terms of replication, the cost should be about the same. Unreal is usually smart and only replicates what has changed regardless of whether its in a struct or not.

I wouldn’t worry too much about these problems, rather I would more consider if the variables should be grouped in a struct for gameplay purposes.

Similar post: Replicating Structs with Properties - Programming & Scripting / Multiplayer & Networking - Epic Developer Community Forums

2 Likes