コミュニティQ&A

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

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

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

0 支持

Hello!  So I'm working on a game where the player moves around in a 'world map' scene and if he/she runs in to an enemy, it loads up a 'battle' scene.  Think pokemon when you hit a wild pokemon in a tall grass.  :)

Anyways, similarly to pokemon, the music changes on contact with the enemy and should continue to play through the scene change and loop from there.

However, on the scene change, the music track abruptly cuts out...  I looked in to the profiler and figured this out.  It seems at the scene change, the music track gets sent to a virtual voice but if I wait for it to go through one whole loop it will pop back up to being audible/normal.  Also, if I pause the Unity editor, it snaps back to a normal voice, not virtual.....

Here are screen shots from before and after the scene change.  **Note the little box between the music track and the music bus... what exactly does this number mean?  Is it a volume adjustment added by some event or state or something?

Few other things that might help:

No soundbanks are being changed during this process so that is highly unlikely to be an issue.

Have yet to see if it happens in a build.

I've swapped and tested it with other music segments and it does the same thing.

 

any help or ideas would be greatly appreciated!

 

screen cap 1 -https://drive.google.com/open?id=0BzuJQz64Dlu3SkpQVEVmU0pXQ2M

screen cap 2 - https://drive.google.com/open?id=0BzuJQz64Dlu3SXM3U01NMkhmZXc

 

-Blake

Blake (420 ポイント) General Discussion

回答 1

0 支持
Do you have your switch container set to Continuous play mode? Otherwise it will wait for the next trigger to start playing again. Can you attach a screengrab of your music switch container setup if that doesn't work?
Beatrix Moersch (3.3k ポイント)
Thanks for the help Beatrix!  It is in continuous play mode (unless I'm looking at the wrong thing)
https://drive.google.com/open?id=0BzuJQz64Dlu3Z2N1VzNJUjM1Ujg
Here's the master music switch container that is switching correctly to 'Overworld Battle' music playlist container.
https://drive.google.com/open?id=0BzuJQz64Dlu3Ml96WmVxZXRMbGs
Here's with 'Overworld Battle' music playlist container selected.
It plays the intro segment fine and goes in to "WorldMapBattle-core_loop" just fine but drops out to virtual when the scene changes.
Ok different things I would look at next. Transitions - do you have any custom transitions set up in the switch container that could be causing this? Another thing - you said there is a scene change. Is the previous scene getting unloaded by the engine? Is the wwise object playing the music in that previous scene? Could there be anything else scrubbing the object? Also - it would be useful if, after stopping your capture, you scrub back to the exact moment the change happens. Hopefully we see something in the capture log. Also check that the filter to see if all capture log info is on, and then maybe get rid of everything except for errors, events, switches, states, soundbanks, and maybe actions.
question about the wwise object from the previous scene: yes, the wwise object that is in the previous scene is being deleted.  However, I've noticed in most cases this doesn't stop sounds from continuing to play... I'll try and make that game object persist and see if that works I suppose?
It's definitely worth a shot. That is the kind of thing I could see causing a music drop-out.
...