コミュニティQ&A

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

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

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

0 支持

Hi, I've encountered a weird integration problem. My development environment is
- Wwise 2019.2.8.7432
- Wwise Unity integration 2019.2.8.7432
- Unity 2019.4.17.1
I built a custom effect plug-in through the Wwise Plugin Pipeline and wanted to try it out in the Unity. However, I found it didn't work either in Editor or Build. The interesting thing is that once I connected the Unity editor to Wwise profiler, the plug-in would work as expected. When the profiler is disconnected, the plug-in doesn't work as well.
Any thought about this problem? Any help would be appreciated.
Thanks,
- tezika

tezika (110 ポイント) General Discussion

回答 1

–1 支持
Hi,

It's hard to tell without more details, but I just fixed a similar problem this morning (no sound in game until I profile in Authoring). Turns out that I had a type mismatch between the definition of a property in the XML file and its handling in GetBankParameters function (Authoring side). When a plug-in is loaded into a game, its SetParamBlock function (SoundEngine side) is called to fetch parameters from the generated soundbanks, which in my case gives me -inf for the duration parameter because, when I generated the soundbanks, I tried to read a 64-bit float from a 32-bit property. When connecting the Authoring to the game for profiling, the SetParam function (SoundEngine side) is called to update each individual property. This time, the sound engine was able to retrieve the correct value for the duration parameter.

Few points to check:
- Make sure that the type of the properties in the XML file exactly match the types that are read/written in GetBankParameters.
- Make sure that the order (and the types) of the properties that are read in SetParamBlock is exactly the same as the order (and the types) that is written to the soundbanks in GetBankParameters.

Hope that helps,

Olivier
Olivier B. (120 ポイント)
Hi Olivier,
Thanks for your help. I've already checked the two points you come up. Unfortunately, it still didn't work well in the Unity. There is something may be noticeable is that even I used some native Wwise plugin, such as AKFlanger, it still wouldn't work until I connected the profiler.
...