Hi,
it's likely due to the script order of execution, if you want to do something before start, do that in Awake().
the other way is to make a small method to get the player, and there you check if player is null and if null, you get it, this way it will find the player the very first time it needs it and not during the initial phase of script execution.
Bye,
Jean