Skip to content

Main Thread Stalls Break RollbackSyncronizer #543

@Gamepro5

Description

@Gamepro5

🐛 Description

A main thread stall (from any form of Godot lag) can cause the RollbackSyncronizer to go out of history and not work. This is especially problematic when first joining, as lag is expected to happen.

Steps to reproduce

  1. Download MRP
  2. Run MRP (2 instances)
  3. Host with instance 1
  4. Join the server with instance 2
  5. Observe the console.

Expected behavior

The RollbackSyncronizer should continue to function despite the slight freeze, or add support for planned lag spikes.

Observed behavior

Rollback does not work for a while, and spams the console.

Versions

  • Godot version: 4.5.1-stable
  • netfox version: 1.35.3

MRE

mrp.zip

Metadata

Metadata

Assignees

No one assigned

    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