- Home /
How to prevent input lag/delay?
A built game for Windows PC was tested on some computers. It runs in 40% of PCs with delayed input. For example, jumping motion occurs 800ms after the jump command. There are cases that exceeds 2000ms.
This problem has been reported on the web by other developers but has not been solved. Here's a case: http://forum.unity3d.com/threads/keyboard-input-lag.67024
Processing capacity of computers didn't seem to influence according to the test results. How to solve it?
Answer by Dreamora · Jun 23, 2014 at 08:58 AM
Ensure that you enable vsync in the quality settings for 'higher end machines' (or always if the game is simple enough to never run < 60 fps on any machine) to prevent the game from rendering too many frames ahead, as the input you do you now would be applied to this future frame if there is such a frame in preparation.
Your answer
Follow this Question
Related Questions
unbuffered keyboard input delay 2 Answers
No keyboard events detected after any key is held. 0 Answers
Need help with disabiling keyboard inputs. 1 Answer
LeftControl key at runtime 0 Answers
Add keyboard input in ClickToMove 0 Answers