Skip to content

RollbackSynchronizer prediction is broken#613

Description

@nyarkus

馃悰 Description

I was using netfox version 1.42.4 and was generally happy with it until I hit the packet size limit. As far as I understand, packet fragmentation was introduced in this commit, but it seems to have broken prediction in RollbackSynchronizer.

Specifically, the host's head jitters, and players jitter at the end of their movement (it looks as if prediction keeps moving the player forward even though the player has already released the button, which causes them to teleport back)

Steps to reproduce

  1. Download the MRE
  2. Open the project
  3. Build the project
  4. Enable Netfox Sharp plugin
  5. Go to Debug -> Customize Run Instances..., check Enable Multiple Instances, and set the instance count to 2
  6. Run it

Versions

  • Godot version: 4.6.3 mono
  • netfox version: latest from main branch

Notes

You can disable prediction in player.tscn to verify that the issue is indeed caused by prediction

MRE

Archive.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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