Tanks Tutorials GameManager.SetCameraTargets () not working

Hi,

I have a student who is building the Tanks game from the Tanks Tutorials on the Unity website, but it is giving us an error like this:

NullReferenceException: Object reference not set to an instance of an object
GameManager.SetCameraTargets() not set up

Any ideas on what we could do to fix this problem?

Thanks

I know its been a while since this was posted but I ran into the same problem. It turned out I forgot to add the SpawnPoint game objects into the “GameManager” object. The problem went away once I added it in.

Hope this helps