I am writing a unity game and using Lidgren for networking. when only one client is connected it is running flawlessly, no lag or problems but when more than that are connected, everyone is experiencing extreme lag. since it is an authoritative server inputs take long time to register and update.
can anyone point me to common mistakes or causes?
I have made sure every client can see others but movement takes upto 10 seconds to register any movement, even it's own (there is no client side prediction yet).
I will post code if anyone asks but it is long and is a mess.