I keep on getting this problem even though it still lets me test it. I filled out everything in the inspector and ended with this every time. I know this is probably a simple fix but i’m new to Unity. Please help! Thanks in advanced.
NullReferenceException: Object reference not set to an instance of an object
public Text someText;
public string gameOver = “GAME OVER”;
void Start()
{
someText = GetComponent();
}
void Update()
{
someText.text = gameOver