Stuttering web player

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.

Looks like some loading issue (it does not lag after the first translation). Do you use Resources.Load anywhere in your scripts?

It is better to load everything at the start of the level, to prevent loading lag.


edit: in fact it happens along with the display of Unity watermark. Try to wait for 1 or 2 seconds before starting the translation (the amount of time needed to mask the watermark).