Skip to content

Performance issues under poor network conditions #50

Open
@ghost

Description

Godot version

3.3.4.stable

Plugin version

0.5

System information

Windows 10, Linux Mint 20.2

Issue description

Under poor network conditions (high latency and packet loss), WebRTCMultiplayer causes frame rate issues in the Godot engine. The issue seems to manifest itself on nodes that are receiving packets. Using NetworkedMultiplayerENet under these conditions does not have the issue. I was able to reproduce the issue on both Windows and Linux.

2021-10-29.15-10-25.mp4

Steps to reproduce

  • Establish a connection between two peers using WebRTCMultiplayer.
  • Simulate latency and packet loss
    • I used Clumsy on Windows to set latency to 400ms and packet loss to 25%, but I also had the issue occurring at 250ms latency and 2% packet loss
    • I was also able to reproduce on Linux using tc

Minimal reproduction project

WebRTC Performance Issue.zip

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions