Hi all,
Just wanted to document an issue I've had over the last few days, which has been fixed now (EDIT: The next day, same problem... no fix!). Maybe this is useful for other people too!
I'm working on two different Mac computers (one work / one private). I sync my Unity 2021.3.5 project via Git. The Unity project has the latest Wwise integration (2021.1.9.7847) installed. That same Wwise version has naturally been installed on both devices. I usually load my Wwise + Unity projects via the Wwise Launcher.
Over the last few days I've noticed that the Unity Editor did not connect in any way to Wwise. Soundbanks were not visible in the AkBank components for instance, neither could I see Events in any of the corresponding components. The Wwise Picker showed "connecting to ws://127.0.0.1:8080/waapi" and intermittently showing that "connection refused" or "connection denied" (I don't remember which). Nothing was shown in the Wwise Picker under Wwise Authoring. Also from Wwise's side I could only sometimes connect to Unity for profiling etc. Somehow the Soundbanks were loaded however, and any Events that had been previously selected were still triggered, but there was no way to change these, or add new ones.
This problem was only on my personal Mac. I was surprised to find that this issue did not exist on my other machine. Here the Wwise Picker was connected, showed all loaded Soundbanks, etc etc etc.
So on my non-working machine I thought the issue may have to do with Unity, or my local network, or any of those things. Some things I've tried without success:
- Reset / change the IP address / port
- Reinstall Wwise 2021.1 (uninstall through Launcher / reinstall via Launcher)
- Restart computer
- Change all local network settings / firewall settings (inc disable)
- Delete Library folder
- Read up (and change accordingly) on best practices for Git / versioning
- Delete previously Generated Soundbanks
... and prob a few dozen more things. No luck.
EDIT: The thing that did fix my issue the first time? Reinstalling the Wwise Launcher and/or deleting Wwise folder inside Applications folder
However, the next day I've had the same problems, but this doesn't solve my problem this time.!
I have no idea what was broken inside (either) of these systems, but deleting both, and then redownloading Wwise Launcher from the website + reinstall Wwise 2021 via Launcher, solved my problem. I'm thinking that the issue lies in one of the files in the Wwise folder, but since I deleted both simultaneously, there's no way for me to know now.
I've tested whether it was working stable now. From freshly-working machine: Opening + committing + pushing, to then Pull + opening + committing + pushing on the other machine. I did this a few times back and forth... and all seems to be well!
Hope this may help some else as well
--------
EDIT: The next day I'm having the exact same problem, and my previous 'fix' doesn't work.
I really don't know what I can try anymore...