menu
 

Audiokinetic의 커뮤니티 Q&A는 사용자가 Wwise와 Strata 커뮤니티 내에서 서로 질문과 답변을 하는 포럼입니다. Audiokinetic의 기술 지원팀에게 문의하고 싶으신 경우 지원 티켓 페이지를 사용해주세요.

0 투표
I try to use AkState to implement BGM in my unity project.

I create an empty unity gameobject into scene under MainCamera , then drag a state from wwise picker onto the gameobjec.

The trigger on value is Start, state group and value was the pick up one.

When I start to play the scene , it comes no sounds . I also tried to use aksoundengine.registergameobject for the targetObj or call the aksoundengine.setstate(gourpid, stateid) in the c# script at runtime . but it seem doesn't worl.

 

The AK terminator and initializer works fine,  AkSoundEngine.LoadBank and AkSoundEngine.PostEvent works fine too.

Is there anything I need to check before I use "states" ? or Cound you support some sample project for unity using states ?
 

My unity version is 4.3.2f  , wwise version is 2013.2.9 build 4872

Thanks.

Leo.
폐쇄 기록: resolved.
General Discussion Leo H. (160 포인트) 로 부터
완료 Leo H. 로 부터

1 답변

0 투표
 
우수 답변
I suggest you connect the Wwise Profiler to your game to know what's going on.  It should give you more info.
Mathieu J. (Audiokinetic) (7.1k 포인트) 로 부터
선택됨 Leo H. 로 부터
thanks, it seems that I didn't generate the bank correctly.
...