커뮤니티 Q&A

Audiokinetic의 커뮤니티 Q&A 포럼에 오신 것을 환영합니다. 이 포럼은 Wwise와 Strata 사용자들이 서로 도움을 주는 곳입니다. Audiokinetic의 직접적인 도움을 얻으려면 지원 티켓 페이지를 사용하세요. 버그를 보고하려면 Audiokinetic 런처에서 Bug Report 옵션을 사용하세요. (Q&A 포럼에 제출된 버그 보고는 거절됩니다. 전용 Bug Report 시스템을 사용하면 보고 내용이 담당자에게 정확히 전달되어 문제 해결 가능성이 크게 높아집니다.)<segment 6493>

빠르고 정확한 답변을 얻으려면 질문을 올릴 때 다음 팁을 참고하세요.

  • 구체적인 내용을 적어주세요: 무엇을 하려는지, 혹은 어떤 특정 문제에 부딪혔는지 설명하세요.
  • 핵심 정보를 포함하세요: Wwise와 게임 엔진 버전, 운영체제 등 관련 정보를 함께 제공하세요.
  • 시도한 방법들을 알려주세요: 문제 해결을 위해 이미 어떤 단계를 시도해봤는지 설명해주세요.
  • 객관적인 사실에 초점을 맞추세요: 문제의 기술적 사실을 중심으로 설명하세요. 문제에 집중할수록 다른 사람들이 더 빠르게 해결책을 찾을 수 있습니다.

+4 투표

Hi, I'm trying to split the application using wWise with no success.

First, I tried to remove in AkInitializer.cs all the initializing code from the Awake method and I created a static method to initialize. When my app start, after I checked the OBB file is loaded, I copy the Init.bk file from the streaming data path to the persistent data path.

Then I call my Initialize method in AkInitializer.cs with an added line for AkSoundEngine.AddBasePath that add my path to where I copied my file.

No error in the console but no sound in the game.

 

I then tried to use AkMemBankLoader in my first scene where the sound bank was loaded. this component is added to a GameObject that is never destroyed. Then again, no sound in my application.

I then added in the project settings AK_LOAD_BANK_IN_MEMORY but then I found that AkInitializer.cs was calling a method in AkMemBankLoader witch is not even static so it's impossible to build with this error.

 

Could someone who successfully build a split android application on Unity help me please?

General Discussion Mathieu C. (150 포인트) 로 부터

2 답변

+2 투표
Hey !

I'm trying to do the exact same thing, with sound banks downloaded into the persistent data path. The path I'm adding looks like this > /storage/emulated/0/Android/data/com.companyname.projectname/files/Audio/GeneratedSoundBanks/Android/

I'm getting this path by combining persistent data path and base path from Wwise. When I check inside the device storage, the folder exists and so does the bank I try to load, but when I log the AKRESULT of the LoadBank, I'm getting "AK_FileNotFound"

Is there something I'm missing ? I don't get errors or exceptions besides what I manually log, and obivously I get no sounds out of the device

Have someone found a solution to this ? The Wwise documention state it should be doable

Note : When I put the banks into the streaming assets and package them with the build, everything works fine, so the sound banks are not at fault.
Cédric B. (190 포인트) 로 부터
+1 투표
I have exactly the same problem as Cedric, using Unity 5.3 and Wwise v2015.1.1.
No matter what I call as an argument of AkSoundEngine.AddBasePath, I get AK_FileNotFound.
I've been trying absolute and relative paths to the sounbank file and its parent folder.
Could anyone provide an example of correctly called AkSoundEngine.AddBasePath in split-apk Android?
Michal K. (180 포인트) 로 부터
...