Skip to main content

Network Replication

Prerequisites

Note: We assume that you have a basic understanding of the Client-Server model in Unreal Engine and some knowledge of replication before reading this article.

Overall, replication on ACC remains relatively simple because you only need to replicate a single structure, the one containing the creation data, which is FACCCharacterCreation.

In the example I'm going to show you, we will simply put a structure in RepNotify, so that every time the structure changes, it will be synchronized in the ACCCreationComponent.

Reference Viewer

Reference Viewer

Performance

This is a very simplified and accessible example to help you understand that you just need to synchronize the creation data in the ACCCreationComponent.

For performance reasons, depending on your game mechanics and hardware limitations, especially if there are dedicated servers, it might be useful to manage partial data synchronization after an initial setup. However, this will greatly depend on your specific game mechanics.