Quick answer: Construct 3 Photon multiplayer input feeling laggy after a brief RTT spike? Default prediction window doesn't adjust - implement adaptive prediction based on rolling RTT.
RTT 50ms; game feels responsive. RTT 200ms; input lags noticeably; recover slow.
Track rolling RTT
Average RTT over last 10 packets. Use the average for prediction; smooth out spikes.
Set adaptive prediction window
Window = max(50ms, avg_rtt). Compensates for current connection quality.
Or pause on bad connection
Above 200ms RTT, show 'connection unstable' modal; pause input. Players appreciate the honesty.
“Network conditions vary. Prediction adapts; otherwise it feels worst-case.”
Adaptive prediction is mandatory for varied-network games. Static prediction values feel off too often.