I’m really starting to hate these errors i can never work out what is the problem.
Error : NullReferenceException: Object reference not set to an instance of an object
TimerScript.Update () (at Assets/Scripts/TimerScript.cs:58)
levelLabel.text = "Level: " + GameManager.Level;
error with that line ^^
I have tried this
if (GameManager.Level != null) {
levelLabel.text = "Level: " + GameManager.Level;
}
Any help would be great.
Thanks