커뮤니티 Q&A

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

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

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

+2 투표

I am working on a student project using Wwise with Unity and Perforce for version control. I was finally able to troubleshoot the integration successfully between Unity and Wwise, was able to generate a soundbank with a header attached, and got Unity to find and display this information in the Wwise picker. After I submitted my changes to my Perforce depot, I tried to add another sound to the soundbank I created. I had no problems with Wwise itself until now, I added the play event to the soundbank as I did with my first sound/event, but when I attempted to generate the soundbank it completed with the error Can't write bank file "ZombieGrunts" for language "SFX". I feel as though I am missing a very simple step that would cause these programs to communicate easily. I also get two errors stating "Can't write SoundBank into file", (With one pointing to my project folder " \GeneratedSoundBanks\Windows\Soundbanks.info.xml " and the other pointing to "\GeneratedSoundBanks\Windows\PluginInfo.xml") and one error stating "Can't write Wwise_IDs.h file". Any idea why these errors might be occurring?  Is there a more simple way of adding to an existing soundbank and having it appear in my project? Any help would be greatly appreciated!!

**Edit
Also, when I go to save the project after importing the sound > Adding play event > Adding event to soundbank, I get an error popup stating
-C:\Users\Andrew\.....\Deadweight\Assets\DeadweightWwiseProject\Deadweight\Actor-mixer Hierarchy\Default Work Unit.wwu: An error occurred while saving this file. You do not have permission to access this file, or it may be read only.
-C:\Users\Andrew\.....\Deadweight\Assets\DeadweightWwiseProject\Deadweight\Events\Default Work Unit.wwu: An error occurred while saving this file. You do not have permission to access this file, or it may be read-only.
-C:\Users\Andrew\.....\Deadweight\Assets\DeadweightWwiseProject\Deadweight\SoundBanks\Default Work Unity.wwu: An error occurred while saving this file. You do not have permission to access this file, or it may be read-only.


I am very new to Wwise, Unity AND Perforce so it could really be any number of issues causing this error. Again, if anyone has any hints/ideas/tutorials that could possibly resolve this issue, I'd love to try them!
Also, I apologize if this is a double post. I think I might have accidentally submitted a blank question form previously.

**FIXED**
So I realized that the error was being caused by Perforce. Because I had edited files that I was trying to save, I needed to "Check-out" those files before saving the project and writing to those locations locally. I hope if anyone else comes across this problem in the future they will find this post!

Best,
Andrew Robards

General Discussion Andrew R. (210 포인트) 로 부터
수정 Andrew R. 로 부터
Is the destination folder for the project anywhere in c:\program files\ or program files(x86)? Those folders often have problems with write protection in windows 7.

Edit: nevermind I just noticed they're in your user folder....
Hi,

Your fix makes sense, but since Wwise has Perforce Integration and offers to check out the required files when making changes to the project, I'm surprised that generating SoundBanks just dies when the files are not checked out.

Is this something that can be fixed by making changes to the C++ plug-in source?

1 답변

+1 투표
 
우수 답변

**FIXED**
So I realized that the error was being caused by Perforce. Because I had edited files that I was trying to save, I needed to "Check-out" those files before saving the project and writing to those locations locally. I hope if anyone else comes across this problem in the future they will find this post!

Andrew R. (210 포인트) 로 부터
선택됨 Noemie P. (Audiokinetic) 로 부터
I have this issue when trying to generate any file into any soundbank. I recently did a file purge with the file manager. I don't know if that is related.
My files are checked out so i don't think your solution is mine.
Do you have any other insights?
Did you manage to solve the issue?
...