You sure you set up your player mask correctly? It's not just a layer number, you have to bit shift it
1 << [player's layer]
Also, I don't think the Overlap sphere function will ever return null, will it? Just an empty array