-
Notifications
You must be signed in to change notification settings - Fork 16
Network Testing Settings
Important
We will add latency to simulate a real-world multiplayer environment
This guide will simulate ~150ms latency
Open the play settings like so:

Scroll down.
Change Play Net Mode to Play As Client
Check Enable Network Emulation
Change Minimum Latency and Maximum Latency to 60 for both Incoming Traffic and Outgoing Traffic
Tip
This simulates a stable connection far from the server
While testing with packet loss can be important to ensure corrections are handled appropriately, it would not be suitable while setting up

Tip
If you play in editor and press ` it will open the console, where you can type stat net to see your Ping
` is the non-shift version of ~ commonly found just above the TAB key
The values we chose simulates ~150ms latency
Tip
You can use p.netshowcorrections to draw visualization capsules when a de-sync occurs
When testing Push Pawn you will generally want two players.
The three highlighted options are important for getting two players in the same world.

Tip
You can make an AI instead, even if they do nothing