Can I record snapshot history and replay it later?

Hi. I’m considering to use DOTS NetCode for my next project and have some questions about it.

In my previous project, I implemented my own networking stack based on LLAPI. It gathers all object state and create world snapshot, calculate delta-snapshots and send to each clients. Also server records all of snapshot history to file and users can play it as replay later.

It seems that NetCode generates snapshot natively so I want to know whether I can get or store snapshots to memory/file and play it later without server.

It should be possible to record the snapshots and play them back - but only if you record from the very first snapshot packet since the snapshots are delta compressed and you will no have the correct baseline on the client if you start recording in the middle.
It is not something we are supporting out of the box yet so I can’t say for sure it will work, and you’d need to implement most of it yourself if you need it now.

1 Like