Vector3.lerp doesn't work when level is loaded

I’ve been having having a big problem with lerp. I though it was a problem with the builder, but through trial and error, I discoverd that the lerp function doesn’t work when a level is loaded. If the game starts on the level, it’s fine, but when I use Application.LoadLevel(“alevel”); the lerp function doesn’t work.

I also don’t think it is directly to do with my code because I’ve used something as complex as this:

public class Upgrades : MonoBehaviour {

	public lives script;
	public AudioClip blip;
	bool on;
	
	void Awake(){
		renderer.enabled = false;
		on = false;
	}
	
	void OnMouseEnter()
	{
		transform.localScale = new Vector3(0.16f, 0.16f, 1f);
		if(on == true){
		audio.PlayOneShot(blip, 1.0F);
		}
	}
	
	void OnMouseExit()
	{
		transform.localScale = new Vector3(0.12f, 0.12f, 1f);		
	}
	
	void Update() {
	
		if(lives.livesleft <= 0){
			renderer.enabled = true;
			on = true;
		}
		if(player.paused == true){
			renderer.enabled = true;
			on = true;
		}
		else if(player.paused == false && lives.livesleft >= 1)
		{
			renderer.enabled = false;
			on = false;
		}
	}
	
	void OnMouseDown()
	{
		if(on == true){
			Application.LoadLevel("Shoot stuff in space");
		}
	}
}

To as basic as this:

public class test : MonoBehaviour {

	void Update () {
		transform.position = Vector3.Lerp(transform.position, new Vector3(100.0f, 20.0f, 1.0f), 10f * Time.deltaTime);
	}
}

And the result is the same. I tried different game objects, different scenes, different scripts but the level being loaded is the only thing in common so far.

I’m loosing my mind so any help would be fantastic.

I think the problem is that you are using Time.deltaTime as your lerp factor. Maybe you meant to do this, but I can’t see how this would ever be useful to set a transform position. DeltaTime is the amount of time passed since the last frame was run, and it fluctuates. The lerp factor should always be 0.0 to 1.0. I would take another look at what you are trying to accomplish and choose a different approach.