Skip to content

Game lag 40 times a second (or whatever sable update rate is) #1520

Description

@CreepyDutchBoy

Description

This is a well documented bug I found by me, game lags hard with lag spikes consistently being 40ms or higher on modern systems but only happens on servers. Whenever sable updates its physics, the client lags even if it is just a server issue.

I narrowed it, it's whenever Sable uses replication packets which cause a massive freeze on the client.

Here is conditions and what actually happens:

  • Only lags on client when it is connected to a server. Same exact world 1:1 on SP will not have this bug.

  • On Linux and Windows, across 2 different computers. (no idea on mac).

  • Not specific to any one sublevel as it is a replication issue.

  • Happens each update tick for sable (can be 40, 20 or whatever its set as)

So I will post Game Log for server.

Game Log

https://mclo.gs/qQEWT2B

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions