ue-networking-and-replication

Implement server-authoritative multiplayer replication and RPCs in Unreal Engine C++.

55|5|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/kevinpbuckley/unreal-engine-skills --skill ue-networking-and-replication-kevinpbuckley
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ue-networking-and-replication
Source: https://github.com/kevinpbuckley/unreal-engine-skills/tree/main/skills/core/ue-networking-and-replication
Command: npx skills add https://github.com/kevinpbuckley/unreal-engine-skills --skill ue-networking-and-replication-kevinpbuckley

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Multiplayer bugs in Unreal Engine almost always come from authority or replication-setup mistakes: properties that silently never replicate, Server RPCs dropped on unowned actors, or state changed on clients that never propagates. This Skill gives an AI agent the exact UE 5.8 APIs, macros, and patterns to build correct server-authoritative networking the first time. ## Core Features & Use Cases - Property Replication: Set up UPROPERTY Replicated/ReplicatedUsing, GetLifetimeReplicatedProps, the full DOREPLIFETIME macro family, RepNotify callbacks, and COND_* replication conditions. - RPCs: Declare and implement Server, Client, NetMulticast, and Remote RPCs with Reliable/Unreliable and WithValidation, including the ownership rules that determine where each RPC executes. - Performance & Scale: Configure NetDormancy, NetUpdateFrequency, relevancy, Push Model (MARK_PROPERTY_DIRTY_FROM_NAME), FFastArraySerializer delta replication, and Iris system notes for UE 5.8. - Use Case: A health value updates in single-player PIE but not for connected clients. The Skill diagnoses the missing DOREPLIFETIME registration, adds a ReplicatedUsing property with an OnRep_Health callback, and explains why the server must call OnRep explicitly. ## Quick Start Use this skill to add a replicated Health property with an OnRep callback and a validated Server RPC for firing to my Unreal character class.

Frequently Asked Questions about ue-networking-and-replication

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I replicate a property in Unreal Engine C++?

Mark the property UPROPERTY(Replicated) or ReplicatedUsing=OnRep_X, set bReplicates = true on the actor, and register it in GetLifetimeReplicatedProps with DOREPLIFETIME. Missing any of these three steps causes silent non-replication.

How do I call a Server RPC from a client in Unreal?

Declare the function UFUNCTION(Server, Reliable, WithValidation), implement it as FunctionName_Implementation, and call the base name. The actor must be owned by the calling client, otherwise the RPC is silently dropped.

Why does my replicated variable not update on clients?

The most common causes are a missing DOREPLIFETIME registration, changing the value on a client instead of the server, or modifying a dormant actor without calling FlushNetDormancy. Replication only flows server to clients.

What is the difference between Reliable and Unreliable RPCs in Unreal?

Reliable RPCs are retransmitted until acknowledged and ordered, but flooding them saturates the channel and stalls all replication. Unreliable RPCs are fire-and-forget, suited for frequent cosmetic calls like multicast effects.

When should I use FFastArraySerializer instead of a replicated TArray?

Use FFastArraySerializer for large or frequently modified arrays, since it sends only changed elements and provides per-element add/remove/change callbacks. Plain replicated TArrays resend the entire array on any change, which is fine for small, rarely changed lists.

Does Unreal Engine 5.8 Iris replication replace DOREPLIFETIME and RPCs?

No. Iris remains beta and opt-in in 5.8 via net.Iris.UseIrisReplication, and it coexists with the existing model. Existing DOREPLIFETIME macros, OnRep callbacks, and RPCs continue to work unchanged.