Sorry for making a separate post for this (I've found 2 posts with most likely the same issue), but this is a critical problem and hopefully we can get enough attention to get a response and maybe a workaround/fix for it.
Using:
Unity version 2021.2.7f1
Wwise Unity Integration 2021.1.5.7749.2277
Wwise Version 2021.1.5.7749
Note: This issue started for us two weeks ago when we updated from using Unity version 2020.2 and an old 2019 version of Wwise (not sure the exact version).
Video showing issue:
https://www.youtube.com/watch?v=GpSwHueM93s
1) Teammate makes changes in the wwise authoring project, and generates the SoundBanks
2) Teammate pushes their changes to version control (Plastic SCM in our case).
3) I download the update, and return to the Unity window (no files deleted at this point).
4) I run the game, and stop it.
5) I go back to the Plastic SCM window, and it shows hundreds of the wwise event ScriptableObjects have been deleted.
If I then run the game, I get an error as soon as a wwise event is triggered that would use the wwise event ScriptableObject reference.
I posted a Bug Report using Wwise Launcher, it is bug #16422-83796-20122-61026
Other threads that are probably the same issue - both of them also seem to mention version control, so maybe it is related to that? Maybe we all have a file under version control that shouldn't be controlled, and should be private? At the beginning of my video you can see what files were modified (right before I pulled his update), should any of those not be controlled? [Edit: Doesn't seem to have anything to do with version control specifically, see the comment I added below]
https://www.audiokinetic.com/qa/9747/randomly-trashes-events-gameobjects-generate-soundbanks
https://www.audiokinetic.com/qa/9701/unity-wwise-event-variables-disconnected-version-control
https://www.audiokinetic.com/qa/9789/losing-references-using-ak-wwise-event-unity-scripts-how-fix?show=9792#c9792 (may or may not be the same issue, but adding it just in case)
Current workaround is to un-delete the files using the version control program. But this is messy/complicated for a larger team - really hoping for a hotfix or some info on what we could change to bypass the issue.
Edit Feb 5th, 2022 - Even with this workaround, when any sound Event is attempted to be played while they are deleted (which causes the error, so you then know the bug got triggered) puts that Event into some disconnected-reference state where you will continue getting the error for that Event until you restart Unity (maybe there is some other faster way to refresh the references, but I've tried several things and it only gets fixed after restarting Unity). Very frustrating.
Thanks for the help!