ok now I am sure that nothing of my game does these stuttering or lagging of the moving camera.
I really think it must be a problem or bug of unity…
I use the latest unity version.
the problem is if I move my camera ingame via script or character controller or rigidbodyFPSScript then randomly these stutters/lags happens.
it looks like that 1 frame is missing or that the camera moved on this frame too far.
I found many threads on the internet of people having that problems or better some people talking about this problem of already finished unity games like kerbal space program…
I tryed it with DX11, DX10, Shadermodel simulated 2&3, VSync off/1/2, I removed every script in scene exept the camera ping pong script that moves the camera from point a to point b and backwards…
I wrote the script with a Coroutine, with fixedUpdate, Update and LateUpdate…
with the LateUpdate it seems to move the camera smoother but these little lags are then more visible…
I removed all exept only a bunch of planes with lightmaps and 3 lights and a skybox on the camera.
with VSync off I have 2000 - 3000 frames per second then it looks a bit smoother but still these little lags are noticeable.
here is a link to my ladderTest Build where I noticed these stutters. its a zip with the exe inside so you can try for yourselfe.
ladderTestBuild
walk left right because then you can see the lags more obviously.
with ESC you can in the menu turn VSync off if you want.
!!!dont minimize the game if you play in Fullscreen because Unity has still the bug where you cannot maximize the game or end it. if that happen open the task manager and go with your arrow keys to the game and end it.