コミュニティQ&A

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

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

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

0 支持
Hello!

Maybe is an easy problem but I have tried a lot of things and cannot resolve my problem

I have a music event that has 3 music playlist containers playing at same time. I have triggered on Unity to start when the main menu starts and its playing all the game. It is what I want. All is fine but, when go to main menu, the music starts again. Two music are playing at the same time, and three, four... every time I go to main menu. I want that only play the first one all the game, beacuse is a random infinite loop playlist.

 

Can anyone help me?

 

Thank you
oscar s. (100 ポイント) General Discussion
I solved it. There is a video on the intro of APP, when it finish starts the main menu. What I did was set the event to start when the video is destroyed. It works because when you go to main menu again only a playlist is running.

I had tried a lot of things but nothing worked. I dont know why, maybe the problem was on the unity project. Thank you for your help guys!!

回答 2

0 支持

Hello, you can go to advanced settings in property editor, set "Limit sound instances" to "1", "When limit is reached" to "Kill voice" and "When priority is equal"  to "Discard newest instance". Maybe there is another way, but that's how I do it.

https://www.audiokinetic.com/library/edge/?source=Help&id=limiting_object_playback_instances

Radek Karnik (990 ポイント)
Thanks. I tried this thing too, but, I dont know why it didnt work.
0 支持
Radek's solution will work, but if your loops overlap at all it may mess with that functionality, since the overlapping moment would be considered two instances. The alternative fix is code based - you have to set your Unity trigger to function only once, which you can do with an if statement that checks a boolean. Flip the boolean when the music triggers, and check the boolean before triggering the music. If the boolean is flipped, bypass the music trigger.
Beatrix Moersch (3.3k ポイント)
...