Search Issue Tracker
Fixed in 5.4.0
Votes
1
Found in
5.3.1p4
Issue ID
765235
Regression
No
NetworkServer.GetConnectionStats are wrong with more than 1 client
Reproduction steps:(Gif below)
1) Open users submitted project and build it twice.
1.1) Alternatively you can run three copies of a project in three Editors.
2) Go into play mode in the editor and hit "LAN server Only(S)" UI button.
3) Run one of builds that you created or go into playmode in another Editor.
4) Click "LAN Client(C)" UI button. Then move around with the ball using arrow keys.
4.0) Collapse Console of Editor that runs server.
4.1) Notice NetworkServer.GetConnectionStats are printed.
4.2) Clear the console, you should see three collapsed logs piling up.
5) Repeat step 3 , 4, 4.1 and 4.2 with other Editor/Build.
Expected result: After your last input data should not be added up any more and clearing console should leave a few logs piling up.
Actual result: After your last input data keeps on being added - you can see that by a buildup of a new logs in the Console of the Editor that runs Server.
Note: Disconnecting one user brings things back to normal.
Reproduced with: 5.4.0b3, 5.3.2p1, 5.2.4f1, 5.1.4f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Text cursor remains visible when hovering over Command Line Arguments scrollbar in Unity Hub
- UI Builder’s "Background" icons for Repeat Y/X, Position X/Y and Slice Type are low quality and blurry in the Inspector window
- “X” button in Editor version search filter is difficult to see when Unity Hub theme is set to Dark
- [Android] The y-value of Input.mouseScrollDelta is positive when scrolling in both directions in the Player
- Crash on TexturesD3D11Base::SetTexture when using DirectX11
Add comment