Skip to content

State Machine example is broken #327

@krazyjakee

Description

@krazyjakee

Bug Description

Clients do not always receive state change notifications from other clients when using RewindableStateMachine. Specifically, state transitions like entering IDLE are sometimes not synchronized across all clients, leading to inconsistent animation states.

Steps to reproduce

  1. Run State Machine example
  2. Move around and jump on multiple clients

Expected behavior

  1. All connected clients receive consistent state change messages from other players.
  2. State transitions, such as moving to IDLE, should be applied across all clients.

Observed behavior

  1. State change messages are not consistently received by all clients.
  2. Only the host and the client that triggers the state change receive the update, while other clients do not.

Versions

  • Godot version: 4.1
  • netfox version: Main branch (not officially released)

Notes

  • Testing on a dedicated server setup may produce different results.
  • The multiplayer-state-machine demo did not function as expected when hitting host/join.
  • The current setup uses the latest Netfox version cloned from the main branch, not an official release.
  • The issue occurs regardless of amount of latency

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