コミュニティQ&A

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

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

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

0 支持

Using the Experimental Web Platform and following all steps from Setting up Web Platform in the Wwise project, Installing the Wwise Unity Addressables Package and Changing the settings in Unity all the addressables banks build fine.

We build the WebGL builds exactly like the Windows and macOS builds by building the addressables after switching platform and building the project like regular Unity projects.

Sounds still work in Windows and Mac Builds, but WebGL build does not have any sounds despite the development build showing no error messages on runtime and the game running flawlessly. We have tried playing release and dev builds in Edge and Chrome.

Does anybody know where those issues could stem from?

Gérald Montúfar (110 ポイント) General Discussion

回答 1

+1 支持
Hi there,

There are many different things that could cause this problem. It could be a failure in sink initialization, failure to serve the web page with proper CORS headers, failures to load the asset bundles containing the banks and media, or simply the web browser defaulting to a muted state.

Are there any errors popping up in the Console Log tab of the Dev Tools pane in Chrome? Usually, this is where you would see any errors generated by Wwise.

If nothing shows up there, you may want to try connecting the Wwise Profiler and see if the sound engine is actually processing audio events. Note that to connect the profiler to a web page, you will need to use the proxy server that ships with the Wwise SDK; please make sure to consult the offline documentation for the Experimental Web Platform.
Philippe M. (580 ポイント)
Thanks for the tip with the Dev Tools pane.

You are right. I get quite a few errors in the Console Log tab of the Dev Tools pane.
First I get a "Failed to load resource: the server responded with a status of 404 (Not found)" but then all the Unity logs start and the game get's initialised.
Afterwards Wwise logs start.
1. Sound engine gets initialised successfully
2. Loading init bank
3. Main bank will be loaded after init bank
4. Error: WebSocket connection to 'ws://localhost:8095/' failed : 5942110 @ WebGL_Dev.framework.js:2000
5. Wwise WebSocket error: Event -> target: WebSocket -> binaryType: "array buffer"

Then Loaded Init bank with bank id, Loaded Main bank without bank id
Then I get a couple "Wwise Audio Context creation failures: ReferenceError: SharedArrayBuffer is not defined"
Loaded Main bank with bank id
Then [UnityCache] ‘https://localhost:51742/StreamingAssets/aa/WebGL/wwisedata_web_assets_all_....bundle' successfully downloaded and stored in the indexedDB cache
Then for each sound played "Wwise Audio Context creation failures: ReferenceError: SharedArrayBuffer is not defined" again.

I guess the "WebSocket connection failed" will be the root of the problem but I unfortunately have no clue how I could remedy this issue.
Hello everyone,

I'm currently facing this issue as well. I'm having the same problems as you all.

Has anyone managed to find a solution?
...