AudioMixerGroup vanished from my project, not sure how.
So I have a lot of AudioSource with Missing(Audio Mixer Group).
Is there a way to find where the missing AudioMixerGroup used to be? So I can put a new MixerAudioGroup with the same name, and it would just “refer” it to all the places that used the original?
I think that what you need is the GUID of the original referenced object, as I’m pretty sure that these are used for references rather than paths.
I don’t think there’s a supported way of modifying those. I’ve never tried this before, but you might be able to:
Look at one of the “Missing” references in a plain text Editor to find the ID of the removed object.
Create a new asset of the appropriate type, close Unity, open the new asset’s .meta file, and give it the old ID.
Open Unity and see if it’s picked up the new asset in the “Missing” spots.
Before you do that, back up your project.
Afterwards, look into “version control” and try out something like Git (popular) or PlasticSCM (new and shiny). Any decent VC tool would let you get back the missing asset without too much effort, as well as a bunch of other benefits. They’re fiddly to pick up, but well worth it. If you’re going to make games, make your life easier and learn to use version control.
Or if you prefer a graphical approach you can binary search your files in git(hub) by browsing the repo at different commits to find the last time there was the audio mixer file and then just download it