Object reference not set to an instance of an object (Tanks Tutorial)?

I’m new to Unity and I’m following the Tanks! Tutorial. I’ve followed the tutorial exactly but keep getting the following error message: "NullReferenceException: Object reference not set to an stance of an object; CameraControl.FindAverage Position () (at Assets/Scripts/Camera/CameraControl.cs:52) It seems to be referring to this block of code:

	private void FindAveragePosition ()
		Vector3 averagePos = new Vector3 ();
		int numTargets = 0;

		for (int i = 0; i < m_Targets.Length; i++)
			if (!m_Targets*.gameObject.activeSelf)*
  •  		continue;*

averagePos += m_Targets*.position;
Line 52 is the "if (!m_Targets.game.Object.activeSelf) one.*

@jgodfrey @caroline13

I have the same problem as caroline13.

The m_Targets array is loaded with a TankManager array called m_Tanks in the SpawnAllTanks() method in GameManager.cs ;
and m_Tanks is initialised in the IDE by assigning a colour and dropping a pair of spawnpoints to an array to two tanks, one blue, the other red.

if two people are making the same mistake, it is likely that there is a problem with the source code supllied. please help.