I was trying the webplayer and found there’s some stutering every now and then, so to check up, i made a minimal scene with a scrolling camera and limited the webplayer to 60 fps as you can see here.
Basically the camera code is this. and the fps counter from the wiki.
void Awake ()
{
Application.targetFrameRate = 60;
SetPixelResolution ();
}
void LateUpdate ()
{
if (transform.position.x < 300) {
direction = 1;
} else if (transform.position.x > 1300) {
direction = -1;
}
transform.Translate(direction * 100 * Time.deltaTime,0,0);
}
Am i missing something? It runs like butter on all standalone versions.