1.1 - Actor Replication

An overview of the Network Features example level, example 1.1: Actor Replication

Choose your operating system:




On this page


In order to view both Server and Client perspectives, on the Play dropdown, set the Number of Clients field to 2.

This example demonstrates the use of the Replicates boolean on Actors. When enabled, it allows clients to be aware of Actors spawned on the Server, from a networking perspective.

You can set whether an Actor replicates or not, via the Defaults tab under the Replication section as seen below.


Level Blueprint

When entering a play session, two Actors are spawned via the Level Blueprint as seen below.


The Switch Has Authority node is used to check if the script is being executed on a machine that has Network Authority (in most use cases, this would mean Server) or if its being executed on a remote machine (in most use cases, this would be the Client).

For this example, it is only being executed on the Server where one of the two Actors spawned is set to Replicate while the other is not. As seen in the image below, the Server can see both Actors while the Client can only see the one that is set to Replicate.


Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey