[Server Authority] Regression with mispredictions for shiftlock jitter fix

There’s a regression seemingly caused by a recent bug fix to do with solving shiftlock jitter.

After enabling FFlagUserServerAuthorityDontSetAutoRotate, mispredictions start happening whenever shiftlock is active and you walk over any surface which isn’t flat. This most commonly happens when your framerate is over 60, so it is more prevalent on higher framerates. Make sure to open the server authority visualizer debug panel to visualize mispredictions.

This issue started occurring shortly after engine version 746 was released, presumably because the relevant flag was scheduled to be flipped.

Video preview. Toggling the flag on and off. Observe how the bug only happens when the flag is on:

Minimum repro file:
Shiftlock Misprediction.rbxl (182.5 KB)

Expected behavior

There should be no mispredictions happening even with the flag enabled.

Hi there, we are looking into this