


Problem with an audio mixer
Hello! I have a question regarding adding a sound mixer to my project. I was following along Brackeys tutorial, and I was successfully able to add a music slider, so I was under the assumption the process would be the same for a sound one. However, whenever I change the slider, I get a warning message that the “exposed name does not exist.” I tried looking it up, but every single thread I could find about the issue specifically talks about the exposed name and the writing in the code not being the same, to which mine are, and there’s also mentions of this issue coming up with mobile games too, but that’s not what I’m doing.
What I’ve tried doing was rewriting the names, copy pasting the names directly, adding the “public AudioMixer” again before the SFX volume (despite knowing it definitely wouldn’t work, but I wanted to try it out just in case,) I genuinely don’t know what could be the issue other than that code doesn’t work if you write it another time and you have to make a new script for it, or the sound mixer somehow got thrown into the music mixer despite them definitely having their own mixers. I would appreciate any advice :)