cBournhonesque / lightyear

A networking library to make multiplayer games for the Bevy game engine
https://cbournhonesque.github.io/lightyear/book
Apache License 2.0
422 stars 44 forks source link

Unexplained rollbacks with PreSpawnedObjects #631

Open cBournhonesque opened 2 weeks ago

cBournhonesque commented 2 weeks ago

Okay, going back to this rollback issue, I think I've narrowed it down enough to share: I might be running into an edge case bug with PreSpawnedPlayerObjects, probably.

To summarize: my game is using projectiles that are really fast moving. There projectiles are pre-spawned by the client that shoots. Whenever the projectiles are stopped, they get deleted that frame. There's three types of behaviors I'm seeing with this, two of which are failure points:

This error gets printed by both clients.

See https://discord.com/channels/691052431525675048/1189344685546811564/1282437035604312187

cBournhonesque commented 2 weeks ago