Application.LoadLevel(); not working

Heres my script

using UnityEngine;
using System.Collections;

public class Start : MonoBehaviour {
	
	// Update is called once per frame
	void Update () 
	{
		if (Input.GetKey(KeyCode.Space))
		{
			Application.LoadLevel("Game");
		}
	}
}

I attached it to the Main Camera but when I press space nothing happens. I have gone into build settings and have added all the levels.
I cant for the life in me figure out what I’m doing wrong, please help!

Firstly check that your spelling and capitalisation are both exactly the same for the level name.

Also, try Input.GetKeyDown instead of Input.GetKey

:slight_smile:

It must have been a spelling error because when I created a we project and did it again it worked, thanks for the help