UE4 Quicktip: Simulating Network Lag in the Editor

While working on the MOBA Starter Kit I was wondering how to simulate bad network conditions (paket loss, high ping) to stress-test the project. Turns out, the Unreal Engine 4 has a feature built in to simulate exactly such bad conditions. After a quick search I found a very informative blog post by Joe Graf. Essentially one can just set a few variables through the console or a the DefaultEngine.ini .

Console commands:

Net PktLag=0
Net PktLagVariance=0
Net PktLoss=0
Net PktOrder=0
Net PktDup=0

If you don’t want to type these settings into the console every game you can add the following part to the DefaultEngine.ini:



Leave a Reply

Your email address will not be published. Required fields are marked *