Audio not woroking after changing pitch

I tried changing to audio pitch to play around and the sound stopped working. I am changing it out of “play” mode so that the changes aren’t erased. If I only change the volume it still works fine when I press play, but if I change the pitch it doesn’t work anymore.

Hi Guilia,

Undo the last changes and test your sound again to verify that the problem stems indeed from the changes. Have you already compared your code to the Lecture Project Changes which can be found in the Resources of this lecture?

Hello. Yes I have undone the changes several times and it only stops working when I change the pitch. Also, this hapened before I even touched the code, but my code is the same as the Lecture Project Changes.

Which code exactly? Could you please upload your code to pastebin.com and share a link here? And which version of Unity do you use?

Hi, yes. here it is!

https://pastebin.com/nwZmh7dS

Thank you.

Where did you change the pitch? And which version of Unity do you use?

Privacy & Terms