Object Reference not set to instant of object.

Can someone help explain to me why I am getting this?


It is giving me an error on the line:

playerCount = PhotonNetwork.CurrentRoom.PlayerCount;

Answers