PunTeams.PlayersPerTeam Null Reference
Debug.Log ("count of players in team " + PunTeams.PlayersPerTeam [PunTeams.Team.red].Count);
gives me NullReferenceException: Object reference not set to an instance of an object. I also used the PickupDemoGui.cs script as a reference point which also gives me the same error (btw this is the exact script from the demo that you supply which is giving me the error as well). I had this working a couple of months ago using the exact same script but now I get errors. Please help
Answer by ChristianSimon · Aug 24, 2017 at 09:08 AM
For anyone else having this problem, we have solved this and you can find the solution here.
Your answer
Follow this Question
Related Questions
Photon Unity Multiplayer Teams 0 Answers
Photon team assignment 1 Answer
Find Game Photon Server Unity 0 Answers
Photon target character not connected 0 Answers
How to synchronize Photon networked values with text in the GUI 0 Answers