title: How to fix "Can't Play a Disabled Audio Source"?
body: <p>I am trying to add a sound into my game that whenever the player moves over a certain space it plays a crunch sound. I have created the AudioSource file and a .OGG file for the sound.</p>
  
  <pre><code>using System.Collections;
  using System.Collections.Generic;
  using UnityEngine;
  
  public class SpaceBlue : MonoBehaviour 
  {
      public Transform spaceNext;
      public AudioSource stepOnObject;
      public AudioClip stepOnSound;
  
      private void Start()
      {
          stepOnObject.clip = stepOnSound;
          stepOnObject.enabled = true;
      }
  
      private void OnTriggerEnter(Collider other)
      {
          if (other.tag == "Player")
          {
              stepOnObject.Play();
              if (BoardScript.diceValue &gt; 0)
              {
                  BoardScript.diceValue -= 1;
                  Debug.Log("The dice are now " +BoardScript.diceValue);
                  other.transform.LookAt(spaceNext);
              }
  
          }
      }
  }
  </code></pre>
  
  <p>I have included the source and clip to my game object and i have tried it both with and without "Play on wake" selected.</p>
  
  <p>Whenever the play walks over the player walks over the object i get a warning in the unity engine saying that the source is disabled.</p>
  
  <p>Any help is appreciated :)</p>