player jump audio wont save when i put in custom audio i recorded

the player controller says i can select jump audio and i recorded my own custom mp3 file added it into unity put it in the player controller and i close out of it and press play on the game but it didnt save the audio file and it says missing audio clip

Hi :slight_smile:

You may need to create a new (empty) GameObject (on the same GameObject that holds the player controller script) and add the audio file to this empty GameObject <(rename it) , then make reference to it on your player script:
public AudioClip myRecordedAudio;
AudioSource myAudio;

public void Start()
{
     myAudio = GetComponent<AudioSource>(); 
}
   
//when jumping....
myAudio.PlayOneShot(myRecordedAudio), 1.0f);