foxssake / netfox

Addons for building multiplayer games with Godot
https://foxssake.github.io/netfox/
MIT License
401 stars 16 forks source link

State Machine example is broken #327

Open krazyjakee opened 3 days ago

krazyjakee commented 3 days ago

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

Notes

TheYellowArchitect commented 2 days ago

Uploading video confirmation

https://github.com/user-attachments/assets/b9bbb894-a9f3-458f-8886-308a3dd16cdf

krazyjakee commented 2 days ago

Notes: