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

Wwise Unity Source tree problem

0 투표

Greetings, we are using Unity 2017.1.3f1 with Wwise  2017.2.4.6590, Wwise Integration 2017.2.4.6590.1064. 

I succesfully integrated Unity and Wwise, generated soundbank and push my commits via Source Tree, but when the programmer tries to build the project the Wwise won't let it happen.

It works perfectly on my machine though.

The console gives errors:

WwiseUnity: Could not find source folder for <Android> platform. Did you remember to generate your banks?
UnityEngine.Debug:LogError(Object)
AkBuildPreprocessor:CopySoundbanks(Boolean, String, String&) (at Assets/Wwise/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs:97)
AkBuildPreprocessor:OnPreprocessBuildInternal(BuildTarget, String) (at Assets/Wwise/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs:132)
AkBuildPreprocessor:OnPreprocessBuild(BuildTarget, String) (at Assets/Wwise/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs:165)
UnityEditor.HostView:OnGUI()

----------------------------------------------------------

WwiseUnity: Soundbank folder has not been copied for <Android> target at <C:/Users/user/Desktop/Soccer.apk>. This will likely result in a build without sound!!!
UnityEngine.Debug:LogError(Object)
AkBuildPreprocessor:OnPreprocessBuildInternal(BuildTarget, String) (at Assets/Wwise/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs:135)
AkBuildPreprocessor:OnPreprocessBuild(BuildTarget, String) (at Assets/Wwise/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs:165)
UnityEditor.HostView:OnGUI()

 

문의 2018 5월 15 General Discussion Miras O. (120 포인트) 로 부터

1 답변

–2 투표
I've met the same problem. It seems that AkBuildPreprocessor.cs has checked and try to copy the generatedSoundbanks data from your [ProjectName]_WwiseProject. If you put the GeneratedSoundBanks data under your Assets/StreamingAssets/Audio/..  like what i did, then you can modify the code (in AkBuildPreprocessor.cs) "UnityEngine.Debug.LogError("WwiseUnity: Could not find source ...")" into "UnityEngine.Debug.LogWarning(...)" to avoid to interrupt Building process without being no sound.Wwise will also find that and build into your project. Just have a try!
답변 2018 5월 21 Leon W. (100 포인트) 로 부터
Thanks for response, i will try it
First of all thanks for mentioning this solution! Just a little update that maybe can help someone in the future. I've removed the Wwise project from the Unity Project folder, and just copy-pasted the soundbanks as mentioned in this answer. I've got the same errors and I had to modify these 2 scripts to make the build work without problems:

AkBuildPreprocessor.cs AND AkBasePathGetter.cs

In both of them just change the LogErrorFormat() call to LogWarningFormat() in the lines showed in Unity Console.
...