My Unity project with Wwise integration can not play audio in Unity, while every other thing works fine on Wwise, like posting Wwise Event and I can see the Wwise profiler's sound info is just fine.
But I can not hear everything when playing in Unity Editor or playing in exported Unity project on MacOS. What are the possible reasons? How can I do to fix this?
I tried many ways to debug and here are more infomation:
- Sound can be played and heard by Unity's internal Audio. (AudioSource, AudioListener). So the Unity itself, system, and security&privacy do not have problems.
- No errors triggered in Unity when playing the project. Only can not hear the sound.
- Soundbanks are generated in the Wwise's unity integration folder.
- I started a new empty project, integrated it with Wwise by all default steps, but still can not hear sound (from Wwise) when I play the project. However, when I firstly integrate Wwise, there is an error:
- Multiple plugins with the same name 'libwwiseprojectdatabase' (found at 'Assets/Wwise/API/Runtime/Plugins/Mac/DSP/libWwiseProjectDatabase.bundle' and 'Assets/Wwise/ProjectDatabase/Runtime/Plugins/Mac/DSP/libWwiseProjectDatabase.dylib'). That means one or more plugins are set to be compatible with Editor. Only one plugin at the time can be used by Editor.
- When I delete anyone of them, there is no Error then, but still can not hear audio.
Wwise version is 2024.1.1, Unity version is 2022.3.55f1