ForgeNetworkingRemastered icon indicating copy to clipboard operation
ForgeNetworkingRemastered copied to clipboard

NetworkerStatistics.BandwidthInOut BREAKS at High Ping!

Open TheYellowArchitect opened this issue 3 years ago • 0 comments

Version Number and Operating System(s):

Windows 7 x64 Unity 2018.1.1f1 Forge Version 3/10/2018 - 19.53.38,04 (I downloaded it in 2021, it is the latest version of master branch)

Expected behavior:

Ping increases, bytes sent are the same amount, they are just delayed

Actual behavior:

Ping increases, bytes sent are almost exponentially more
https://user-images.githubusercontent.com/25630803/115296011-40486600-a10f-11eb-826d-41402ebc6c81.mp4

Steps to reproduce:

I made a reproducible project from scratch to confirm the above, so as to not give you a bloated project to reproduce (though you can reproduce it on your project too)
It is the same as the video above.

https://github.com/TheYellowArchitect/ForgePositionInterpolation

Only scenes used is the multiplayer menu, and default scene.
Build and run 2 instances (windowed so you can see them side-by-side)

Use clumsy to emulate ping, and you should see bytes received going skyhigh

[Optional] Discord Username:

Balroth Thorlar#6572

TheYellowArchitect avatar Apr 19 '21 19:04 TheYellowArchitect