社区问答

欢迎来到 Audiokinetic 社区问答论坛。在此,Wwise 和 Strata 用户可互帮互助。如需我们团队直接提供协助,请前往技术支持申请单页面。若要报告问题,请在 Audiokinetic Launcher 中选择“报告错误”选项(注意,问答论坛并不会接收错误报告)。我们内部设有专门的错误报告系统,会有专人查看报告并设法解决问题。

要想尽快得到满意的解答,请在提问时注意以下几点:

  • 描述尽量具体:比如,想达到什么样的目的,或者具体哪里有问题。
  • 包含关键细节:比如,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?
...