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;
0
Answers
-
Maybe you are not in a room this is why cant find the room i guess.
1