Rolling Back VFX

I’m writing my own netcode framework and had a few quick questions that I couldn’t find on the internet.

1.) How do we roll back predicted audio? Like if you shoot your predicted gun and it plays a gunshot sound. Audio is very decoupled from the simulation, so I can’t imagine it actually being “rolled back” without it sounding very glitchy. Do we just ignore new audio plays on re-simulation ticks? And not actually correct it?

2.) How about something like a particle system?

I also am writing my own netcode. For these cases, I am planning to just abort audio/VFX if they are denied, much like the animation of throwing a grenade where no grenade ever leaves the hand. In some cases, starting the audio or VFX late doesn’t make sense, so if they play at all they have to start on time.

watching this thread now…