menu
 

AudiokineticのコミュニティQ&AはWwiseやStrataのコミュニティ内でユーザ同士が質問・回答をし合うことができるフォーラムです。Audiokineticテクニカルサポートチームからの回答をご希望の場合は、必ず サポートチケットページ をご利用ください。

0 支持
I created a Music Switch Container and added the switches. In Wwise it works perfectly, but when I test it in Unity, the switches are triggered but the music remains the same.

I checked in the profiler and Wwise recieves the events, still nothing happends. If I disconnect and test the music only in Wwise, it works again.

Do you know what could it be? Thanks in advance.
Guido F. (100 ポイント) General Discussion

回答 1

0 支持

Hi!

Try using a State Group instead of a Switch. States are global therefore your post event can be on ANY objects and work properly.

Switches are tracked per GameObject (Unless you specify otherwise in the code) so you need to make sure the event is played on the GameObject that the music is playing on.

You don't get the issue in Wwise because your soundcaster is considered as a single object.

Hope it helps!

Nikola Viel (1.6k ポイント)
...