bevy_replicon icon indicating copy to clipboard operation
bevy_replicon copied to clipboard

Resource replication

Open Shatur opened this issue 1 year ago • 2 comments

Should be simple to add. Maybe we make it similar to components, except there are no groups. We will need support write callbacks and writing into a separate resource for history (until we get resources as entities and can attach the history to the resource entity). If people replicate resources there will definitely end up being some that need rollback.

Shatur avatar Aug 04 '24 20:08 Shatur

This would be very useful to me, even without having rollbacks. I just need the ability for the server to create a resource and it being synced to the clients.

ironpeak avatar Feb 26 '25 14:02 ironpeak

Resources will become entities soon: https://github.com/bevyengine/bevy/pull/17485 Our current implementation will just start working for resources as well. For now, I would suggest using singleton entities as a temporary workaround 🙂

Shatur avatar Feb 26 '25 17:02 Shatur