Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

+2 votes

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

in General Discussion by Andrew R. (210 points)
edited by 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 Answer

+1 vote
 
Best answer

**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!

by Andrew R. (210 points)
selected by 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?
...