HouraiTeahouse / backroll-rs

A (almost) 100% pure safe Rust implementation of GGPO-style rollback netcode.
ISC License
351 stars 20 forks source link

Desync of game state on PredictionBarrierReached #12

Closed ValorZard closed 3 years ago

ValorZard commented 3 years ago

Whenever the prediction barrier gets reached due to an influx of inputs, there will be a bunch of jitters, which leads to the players' positions in this sample project getting desynced. The current theory is that the inputs during that frame don't get read.

james7132 commented 3 years ago

This should be fixed as of cf0b896c7e56c7916aceb8595fd4cdb04df44ea8.