Unity 2D game - objects jerking (only android)

Hi all,

I have a very annoying problem associated with jerking objects - but only on android device. I have simple script, that change position of object (simple texture sprite). On PC it is working well, but on android, in irregular time interval, the object is jerking. I tried a lot of issues, like: FixedUpdate(), LateUpdate(), deltaTime, change Fixed TimeStep, but no one helped me. I try also Vector3.Lerp() but it still don`t work. The script looks like:

void FixedUpdate () {
	//transform.position += new Vector3(1, 0, 0) * 2.5f * Time.deltaTime;
	target = transform.position + new Vector3(5f * 2.5f * Time.deltaTime, 0, 0);
	transform.position = Vector3.Lerp(transform.position, target, 1);

Have you any suggestions to resolve that issue? I will be grateful for every help. Sory for my poor English :wink:

Basically in that code, all you’re doing is moving the sprite continuously on the x axis as the target is offset from the sprite’s own position and is constantly moving. If that’s the behaviour you want, just use transform.Translate(speed, 0, 0).