[UNET] Why client always random disconnect?

I use unet to build a 1 on 1 pvp game.

And using lan mode to connect each other.(no match-maker)

I know mm has bandwidth limitation, it will cause client disconnect.

but i am using lan mode.

when client disconnect, i cant see any message in console and don’t trigger the network error event.

So, how can i fix it?

Or, any reason may cause disconnect?

I found out why this is happening. Just go to your Network Manager and bump up the Max Delay variable. The default is 0.01, which is far too low, so setting it to 0.1 fixed it for me. You may need a slightly bigger number depending on how much bandwidth you may be using.