How to increase ping while testing multiplayer game locally.

For now it works fine while I play it on one computer with ping from 0 to 1. But if I play it via the Internet with ping from 30 to 40 strange things occur. And I need to find the reasons. But I can’t.
So how to test a multiplayer game locally? I think I should use a proxy server somewhere far. But how exactly should I do it?
Anyone knows anything about it? Any help will be appreciated.

You can use the editor and let it use emulation of weaker connection

though your game should work fine with pings up to 300ms, otherwise its useless for any usage on the real WWW

If you didn’t do that, I would highly recommend to give the Unity Networking Example an indepth visit on how to tackle the common problems

Is it Edit → Network Emulation? I just turned on Dial-Up mode and ping is still from 0 to 1.

The ping won’t change unless you have a real network inbetween so at least lan.
But reasonably you won’t get around real alpha testing with usage of true WWW interconnections and using the data you can get from the editor stats banner while playing with other players that way and collecting own informations for a log / xml / csv / whatever

The emulation there only helps you finding bottleneck situation easier, but pings can’t be faked this way, thats something you will have to do through code and pushing back / discarding received data on purpose

Sorry if I was missleading on the possibility you have for local “wanna be WWW” emulation.