title: unity wont let me attatch object to variable
body: <p>Unity wont let me drag and drop a game object into the variable</p>
  <p>heres my script:</p>
  <pre><code>using System.Collections;
  using System.Collections.Generic;
  using UnityEngine;
  using UnityEngine.Assertions;
  
  
  public class GameManager : Singleton&lt;GameManager&gt;
  {
      [SerializeField] private Player currentPlayer;
  
      public Player CurrentPlayer
      {
          get { return currentPlayer; }
      }
  
      private void Awake()
      {
          Assert.IsNotNull(currentPlayer);
      }
  }
  </code></pre>