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.
General Discussion Guido F. (100 포인트) 로 부터

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 포인트) 로 부터
...