Several times throughout this course I made the mistake of using FindObjectOfType by mistake. This sets the var to something other than [ ]. In this lecture it sets a class. Just a missing ‘s’ but a big difference. Maybe I am the only one making this error but thought I would raise it.
Also in the Unity docs it says:
Please note that this function is very slow. It is not recommended to use this function every frame. In most cases you can use the singleton pattern instead.