社区问答

欢迎来到 Audiokinetic 社区问答论坛。在此,Wwise 和 Strata 用户可互帮互助。如需我们团队直接提供协助,请前往技术支持申请单页面。若要报告问题,请在 Audiokinetic Launcher 中选择“报告错误”选项(注意,问答论坛并不会接收错误报告)。我们内部设有专门的错误报告系统,会有专人查看报告并设法解决问题。

要想尽快得到满意的解答,请在提问时注意以下几点:

  • 描述尽量具体:比如,想达到什么样的目的,或者具体哪里有问题。
  • 包含关键细节:比如,Wwise 和游戏引擎版本以及所用操作系统等等。
  • 阐明所做努力:阐明自己为了排除故障都采取了哪些措施。
  • 聚焦问题本身:聚焦于问题本身的相关技术细节,以便别人可以快速找到解决方案。

+1 投票
My team accidentally updated the Wwise-Unity integration from 2016.2.4 to 2017.1.0.6 mid-project and now there is a problem where no sound is produced.

I have updated to the appropriate Wwise project version number and built banks to the GeneratedSoundBanks folder in both the appropriate Wwise and Unity GeneratedSoundBanks folder, but still no sound. In the profiling session it detects that the events are sending correctly, (but no green audio bar). I receive this notification every time an event is triggered - "Sound could not find a path to an output device, will use virtual voice setting." Do you know what this means? The sound plays fine within Wwise otherwise when not connected to Unity. Also every once in awhile I'll receive the error of "Voice Starvation" in Unity and it will mention it in Wwise as well.

 

Thanks for any clue or help on this issue. It is pressing, time sensitive issue.
分类:General Discussion | 用户: Aaron I. (220 分)
标签修改 用户:Aaron I.
Hi, exactly same issue here. I have no idea what could be causing this.
Hey Sebastien, it looks like Daniel may have an answer for you below. I hope that works. If not, I got sound working by uninstalling the 2017.1 Integration by deleting the Wwise folder in the Assets folder in Unity as the Integration instructions say to do. I then re-installed integration 2017.1 with the Wwise Launcher. The sound is now audible without the error, but now I have a problem where music cuts out during a scene change, and will start playing again only when the loop point is reached (no error notifications in Wwise profiler or Unity console). I had to revert back to 2016.2.4 (using the same uninstall/re-install method I mentioned) and now it works fine.

2 个回答

+3 投票
I recently upgraded and noticed for every AkAudioListener you also now need an AkGameObject by default (or else no sound). Add an AkGameObject component and make sure the Is Default Listener flag is checked and you should be good to go.
用户: Daniel H. (200 分)
Thanks! I ended up uninstalling integration (deleting the Wwise folder in the Assets folder in Unity) and reinstalling the integration 2017.1 via the Wwise Launcher, and I think it must have automatically done what you described when I re-installed. The sound works, but now the music cuts out every time I change scenes in Unity (it should be playing through the scene change). It will come back in when it reaches the looping point and plays again... I ended up reverting back to Integration 2016.2.4 by uninstalling/re-installing because of this weird behavior. Now it works as intended in the old integration.
Hi Daniel, hi Aaron,

This worked fin for me too. I don't understand why a listener doesn't update itself as it does before, nor why it's not using a RequireComponent attribute or something similar, but it clearly fixes the issue.

Thanks a lot :)
Can you explain exactly how to do it?
0 投票
I just restart unity,and this worked.

But when i generate soundbank,then play,it broke again.
用户: letters k. (140 分)
...