title: Audio won't play on instantiated object in Unity
body: <p>I have a Canvas prefab called gameOverScreen which has an audio clip attached to it. It is cloned whenever the following function is called.</p>
  
  <pre><code>public static void GameOver()
  {
      GameObject gameOverScreen = Instantiate(Resources.Load("gameOverScreen")) as GameObject;
      gameOverScreen.audio.Play();
  
  }
  </code></pre>
  
  <p>The problem is the audio doesn't play. I worked around it by using audio.PlayOneShot() in another function, but is there some reason why it doesn't work in this case?</p>