Skip to content

[Bug]: Network-Game synchronization failed (desync error) #15

@ferares

Description

@ferares

Version of OpenTTD

Tested both 13.4 (Slowpace 1.3.1) & 12.2 (Slowpace 1.3.1)

Expected result

When running a dedicated server on Linux, Windows clients should be able to connect and play and vice-versa.

Actual result

When hosting a dedicated server on Linux, Windows clients will get a desync error and get kicked out.
This also happens on Windows servers with Linux clients so it seems like its some sort of cross-platform issue.
The desync error seems to happen as soon as there are vehicles moving around.
I've tried collecting more debugging data by setting debug_level desync=4 but it does not seem to work... or maybe I'm doing that wrong. Let me know how can I provide more data and I will

Steps to reproduce

  1. Start a dedicated server on Linux or Windows
  2. Connect to that server using Windows or Linux (not the same OS as the server)
  3. Build a depot of any kind, buy a new vehicle and make it go so it starts moving around
  4. The server should kick you with a message saying "Network-Game synchronization failed"
  5. On the server logs you should see "dbg: [net] '[username]' reported an error and is closing its connection: desync error"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions