Reader small image

You're reading from  Multiplayer Game Development with Unreal Engine 5

Product typeBook
Published inOct 2023
PublisherPackt
ISBN-139781803232874
Edition1st Edition
Right arrow
Author (1)
Marco Secchi
Marco Secchi
author image
Marco Secchi

Marco Secchi is a passionate game programming teacher located in Milan, Italy. In the past, he has been a freelance programmer focusing on game and application development, however he is now currently a lecturer and Lead Game Advisor at NABA (Nuova Accademia di Belle Arti). Marco continues to hone his programming skills in the R&D department at NABA, while also working on personal projects too, involving game development and cultural heritage.
Read more about Marco Secchi

Right arrow

Understanding property replication

As stated before, property replication allows for the synchronization of objects in an Unreal multiplayer environment. It should be noted that, as the server is authoritative, updates will never be sent by the client. Obviously, the client may (politely) ask the server to change a property value, and the server will behave accordingly. Additionally, property replication acts as a reliable service: consequently, the Actor on the client will have the same value as the server sooner or later.

This means that if you’re trying to modify, from the client, a property that is replicated, any changes you make to that property will only be temporary. You should be already familiar with this topic as the character’s movement logic, at the moment, is a bit buggy – we are trying to make the character run from the client, but the server is blocking our commands as soon as the network is updated.

This is happening because, as soon as the...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Multiplayer Game Development with Unreal Engine 5
Published in: Oct 2023Publisher: PacktISBN-13: 9781803232874

Author (1)

author image
Marco Secchi

Marco Secchi is a passionate game programming teacher located in Milan, Italy. In the past, he has been a freelance programmer focusing on game and application development, however he is now currently a lecturer and Lead Game Advisor at NABA (Nuova Accademia di Belle Arti). Marco continues to hone his programming skills in the R&D department at NABA, while also working on personal projects too, involving game development and cultural heritage.
Read more about Marco Secchi