コミュニティQ&A

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

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

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

0 支持

Every now and again a certain UAkAudioEvent for pausing and unpausing music won't garbage collect when closing a game made on UE4 version 4.26.2 using Wwise 2021.1.1.7601.1995.  First the garbage collector tries to destroy the audio event via UAkAudioEvent::BeginDestroy() which always fires the following warning (other events also fire it sometimes):

UE_LOG(LogAkAudio, Warning, TEXT("Stopping all instances of the \"%s\" event because it is being unloaded."), *GetName());

Then the garbage collector tries to call UAkAudioEvent::IsReadyForFinishDestroy() over and over again which in turn tries to call AK::SoundEngine::RenderAudio() which doesn't deactivate the event.  The event that is being deleted is the only active event in the audio device and there are no async tasks.  The log file keeps growing filling up the log file with this message:

[2022.04.12-03.38.48:818][394]LogGarbage: Warning: [0]: AkAudioEvent None.None, IsReadyForFinishDestroy: false

[2022.04.12-03.38.48:818][394]LogGarbage: Warning: Spent more than 10.00s on routing FinishDestroy to objects (objects in queue: 1)

The UAkAudioEvent pauses the game's music, starts the menu music, and also pauses all sounds.  There is a resume UAkAudioEvent that does the opposite which always gets called when exiting the game menu.  I only found this forum which had the same problem with no solution.  What is the garbage collector trying to accomplish by calling AK::SoundEngine::RenderAudio() over and over to deactivate the event?   Also why would an event that only contains pauses and a start not deactivate or stay active for a very long time?

Elroy (100 ポイント) General Discussion
Elroy 編集

Please sign-in or register to answer this question.

...