[UE4] Networking - ReplicationGraph (Tutorial & Overview)

Опубликовано: 30 Сентябрь 2024
на канале: Dennis Andersson
14,075
258

In 4.21 the ReplicationGraph was released in Unreal Engine as it had been an experimental feature in 4.20. When I first heard about the ReplicationGraph in 4.20, it came clear that we were going to need this feature in our project.

So I took the time to learn the ReplicationGraph a few months ago with very limited documentation. And to this day the documentation is still limited, so I though I'd change that.

Topics covered in this video:
00:00 - Introduction & Breif ReplicationGraph Overview
07:48 - Adding a ReplicationGraph to the project
11:03 - Creating our ReplicationGraph Nodes
17:45 - Handling routing actors into different Nodes
25:53 - Determine actor class routes
38:01 - Setting Replication Info Data for our classes
46:30 - Creating our AlwaysRelevant ForConnection Node
49:08 - Handling LevelStreaming in the ReplicationGraph
1:03:29 - Adding actors to an actor DependantActorList
1:09:34 - Adding the gameplay debugger to the ReplicationGraph

I Have also uploaded the project used in this video to GitHub which you can download. There is also a template replication graph that you can used in your games, by simply creating a child class from it and overriding the custom functions i implemented.

https://github.com/MazyModz/UE4-DARep...

-----------------------------------

Useful docs for the ReplicationGraph:
https://docs.unrealengine.com/en-US/E...
   • Networking in 4.20: The Replication G...  

------------------------------------

Twitter: @denand_dev
Mail: [email protected]