コミュニティQ&A

Audiokineticのコミュニティ主導のQ&Aフォーラムへようこそ。ここはWwiseとStrataのユーザのみなさまがお互いに協力し合う場です。弊社チームによる直接のサポートをご希望の場合はサポートチケットページをご利用ください。バグを報告するには、Audiokinetic LauncherのBug Reportオプションをご利用ください。(Q&AフォーラムではBug Reportを受け付けておりませんのでご注意ください。専用のBug Reportシステムをご利用いただくことで、バグの報告が適切な担当部門に届き、修正される可能性が高まります。)

最適な回答を迅速に得られるよう、ご質問を投稿される際は以下のヒントをご参考ください。

  • 具体的に示す:何を達成したいのか、またはどんな問題に直面しているのかを具体的に示してください。
  • 重要な詳細情報を含める:Wwiseとゲームエンジンのバージョンやご利用のOSなど詳細情報を記載してください。
  • 試したことを説明する:すでに試してみたトラブルシューティングの手順を教えてください。
  • 事実に焦点を当てる:問題の技術的な事実を記載してください。問題に焦点を当てることで、ほかのユーザのみなさまが解決策を迅速に見つけやすくなります。

+2 支持
Hi there,

I was wondering if anyone else has run into this problem. I've found one similar question here, but the answer that was provided was not a fix for me.

I'm working in Unity 2017.1 and the latest version of Wwise. Everything works perfectly well in the editor, the soundbanks load, and I can hear all my events posted no problem. Then after building (and copying the soundbanks over to StreamingAssets) there is no sound, no errors, and when I connect the wwise profiler I am spammed with "Sound could not find a path to an output device, will use virtual voice setting." for every event that is posted.

I've tried re-integrating Wwise several times, and this never used to happen in older versions. If anyone has run into this issue and had it resolved before I would love to know how to fix it!

Thanks.
Blake J. (250 ポイント) Feature Requests
Same here. Works in the editor but no sound in the build. The profiler says "Sound could not find a path to an output device, will use virtual voice settings". I made sure that the AkAudioListener had a AkGameObj and that is was set as the default listener.

Don't know if this could be the cause but I'm making a Unity 2017.3 Vive game with Wwise 2017.2.1 64 bits.
Hi there Clement, I found the answer to my issue a few days ago, posted the answer below. Hope that helps! I am also building for Vive so I have a feeling we were having the same problem.

回答 1

0 支持
Solved!

Looks like the issue isn't with Wwise at all but with SteamVR or OpenVR trying to dynamically reset my machine's audio devices on launch and exit. The fix for me was to (in Unity) go into Edit>Project Settings>Script Execution Order and make sure that AKInitializer was being executed before any SteamVR or OpenVR scripts. I also disabled my "Steam Ears" script that was attached to my head object, though I'm not positive that actually did anything to help. All of my builds after that seemed to work smoothly. I also found that in the SteamVR app if I set my desired audio output and input to be set on launch and exit, I could get my old builds to produce sound when they wouldn't before. Hope this helps anyone in a similar situation!
Blake J. (880 ポイント)
Hi Blake,

I tried what you suggested and unfortunately I still have the same problem.
I also have another Vive project on the same Unity version and same Wwise version that doesn't have that issue.
I'm trying to compare them one setting at a time but to no avail so far.
Ok I found a way to get it to work.
In case someone else has a similar issue here's my setup.
I have multiple scenes that I load additively (one for the VR camera and stuff, one for gameplay and one for art).
The issue in my case was that the WwiseGlobal (AkTerminator and AkInitializer) was in the gameplay scene, with the soundbanks and sound events.
Once I moved the WwiseGlobal object in the VR camera scene (with the AkAudioListener) I got sound back in my builds.

The more you know... ¯\_(ツ)_/¯

Tiny rant: When unchecking the "Create Wwise Global game object" in the settings, you will never be able to have a game object called WwiseGlobal as it will automatically be deleted when coming back from play. If you do your own WwiseGlobal object (so one doesn't get added in every scene under the sun) you need to rename it to something like "CustomWwiseGlobal" so it can survive. This is so dumb.
...