In lecture 20 the following was added to private void Update.
if (player == null)
{
player = NetworkClient.connection.identity.GetComponent<RTSPlayerScript>();
}
While this throws the null reference error I used to be able to unpause and let it run. It no longer allows me to do that so I am unable to test the game. I looked in the questions and someone had said they were able to pause it but gave no indication as to how. I haven’t been able to test the game in two player mode for the past 7 lectures. There needs to be a way around this but I just don’t know what it is. I am using Unity 2020.1.11f1