[SOLVED]Change sound

Hi I want to change the sound ,so I added a new sound and I put it in the script but it gives me this error.


I think you have to find the broken link since you removed a sound from the assets probably by deleting… So somewhere there must be an object where the clip of the audio-source is missing. If you change prefabs, better do them on the prefab themselves than on an instance of it (maybe you forgot to apply after the change?)

The sound is added with the code so I put it in the inspector of the script.

you are right the clip was missing in the prefabs
thank you