title: Unity ArgumentException: The Object you want to instantiate is null
body: <p>Please I have been on this issue for the last three days. I am trying to instantiate a Unity prefab. I get the following error :</p>
  
  <pre><code>ArgumentException: The Object you want to instantiate is null.
  </code></pre>
  
  <p>I have change the GameObject(Sphere) but I get the same error. Here is my code.</p>
  
  <pre><code>public class SEMCell : MonoBehaviour, IAbstractCell{
      SCE[] arrayOfSCEs;
      public SCE scePrefab;
      void IAbstractCell.setMecaModel(AbstractCellMechanicsModel model){
          this.arrayOfSCEs = new SCE[10];
          SCE sce;
          for (int i = 0; i &lt; 10; i++) {
          sce = Instantiate(scePrefab);
          this.arrayOfSCEs[i] = sce;
      }
  }
  </code></pre>
  
  <p>I also linked my GameObject to the prefab property.  Anyone has a clue on the fix ? Thanks in advance.</p>
  
  <p><a href="https://i.stack.imgur.com/hSPTD.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hSPTD.jpg" alt="enter image description here"></a></p>