コミュニティQ&A

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

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

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

0 支持
Hi

On a couple of games we have found that the AkComponent.cpp ObstructionService causes terrible performance across all platforms due to massive amounts of raycasts (FAsyncTraceTask goes mad)

Changing the raycast settings etc, even "disabling" occlusion in the wwise settings in UE4 does not fix or alleviate the performance issue

The only way to fix the performance issues is by hardcoding the OcclusionRefreshInterval to 0.0 so it skips it entirely

Is this a known issue? Any suggestions?

Thanks

Rich
Richard Y. (100 ポイント) General Discussion
Hello. Could you tell me how did you solve this problem?

回答 1

0 支持
Hi Rich,

First, a clarification. The Unreal Wwise Integration casts rays using the unreal physics engine to drive the occlusion API in Wwise.  The sound engine is then presented with the results (a number between 0-1, indicating how occluded a sound is). The ObstructionService on the Unreal side is generally seperate from Wwise Spatial Audio. This system predates Spatial Audio diffraction, and is generally (at least without a bit of hacking) not compatible with the diffraction system.

If you are looking to get better performance out of the ray casts in unreal, it might be best to do a bit of digging into the Unreal docs (or maybe someone more knowledgeable in this area can chime in). I suspect it would start with reviewing your collision channels, and the complexity of the collision geometry.

The only control in the Wwise Integration is OcclusionRefreshInterval, which can be set to a larger number to reduce the frequency of the ray casts.

Hope that helps,

Nate
Nathan H. (840 ポイント)
...