Let's talk

DefaultEngine.NetEmulation.ini

Config/DefaultEngine.NetEmulation.ini Raw Download ZIP

Click a line number to link it. Shift-click to select a range.

1; Copyright (c) 2026 Reignance Studios. MIT License, see LICENSE.
2;
3; Paste the section you want into Config/DefaultEngine.ini.
4; Packet simulation is compiled out of Shipping builds, so test with
5; Development or Test packages. Values apply to every connection the
6; process makes, on the server and on clients.
7;
8; Pick ONE profile. Or leave the file alone and pass the same values on
9; the command line with Scripts/Run-Clients.ps1 -Preset <name>.
10;
11; PktLag is per process: the server and the client each delay what they send,
12; so the round trip is about 2 x PktLag. PktLag below is already halved;
13; PktLagVariance is per process too, the same values Run-Clients.ps1 uses.
14;
15; Keep PktOrder=0. In UE 5.x a non-zero PktOrder sends packets before the
16; PktLag step runs, which silently turns the lag off.
17
18; --- Profile "average": ~60 ms round trip, a home connection to a nearby region ---
19[PacketSimulationSettings]
20PktLag=30
21PktLagVariance=10
22PktLoss=1
23PktOrder=0
24PktDup=0
25
26; --- Profile "bad": ~150 ms round trip, cross-region play, the Steam review case ---
27; [PacketSimulationSettings]
28; PktLag=75
29; PktLagVariance=30
30; PktLoss=3
31; PktOrder=0
32; PktDup=1
33
34; --- Profile "awful": ~250 ms round trip, mobile hotspot. If it survives this, it ships ---
35; [PacketSimulationSettings]
36; PktLag=125
37; PktLagVariance=60
38; PktLoss=8
39; PktOrder=0
40; PktDup=2

Still desyncing in packaged builds?

Free code fixes one symptom. A Diagnostic finds the cause across your project in two days.