I have had this happen to me a couple of times now during the course. Must be something I am missing. While adding the Slider timer to the game. When getting a reference to the slider on Start() I use
slider = GetComponent(); and this will return NULL every time.
If I use slider = FindObjectOfType(); then all is well and the code works otherwise as expected.
The object is named Slider and all other names I check appear to be correct. What am I missing?