Here is the reproduction file. This is the default new place file, with the only addition being a ModuleScript in ReplicatedStorage called Test which can consistently cause the rollbacks. There isn’t really anything I can provide in terms of visual aid since this is primarily code, but the output should show a rollback & resimulation occurring every second or so indefinitely as soon as you playtest in Studio.
random_rollbacks.rbxl (61.5 KB)
Output will look something like this:
The rollbacks occur regardless of which value Incoming Replication Lag is set as, and regardless of which values are used for Network Simulation delays.
Notably, RunService.Misprediction will not trigger at all, and thus will not reveal what instance is being rolled back or which attributes are causing it. As far as I can tell, there isn’t actually any mismatch between the predicted value and the authoritative value, and the prediction is “hallucinating” one which results in erroneous rollbacks and resimulations. I suspect this may have something to do with instance stitching, as I could not get this to occur with instances that were created outside of the simulation loop.
In the Test ModuleScript, when the tickAttrName variable is "clock", rollbacks will consistently happen. Changing the attribute name from "clock" to "Clock" will cause the rollbacks to cease. I have absolutely no clue why that is.
Additionally, moving the line Folder:SetAttribute("Active", true) from the first SetAttribute call to the last SetAttribute call will cause rollbacks to happen consistently again, regardless of whether the tickAttrName is "clock" or "Clock".
The reproduction file is one way I’ve found of reproducing it, but it seems to occur whenever it feels like it. It’s gotten to the point where I and my collaborators have to halt the development of current projects with Server Authority due to being unable to validate whether something is being properly implemented or not, and the general inability to playtest without a debilitating amount of rollbacks.
Expected behavior
There should not be any consistent recurring rollbacks whatsoever.
