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.

0 votes

Hey, when using UE4 with event based packing. I have noticed that the generatesoundbanks commandlet will never check in any changes.

It seems to be a logic bug in the GeneratesoundbanksCommandlet, can someone from AK confirm? (as described https://www.audiokinetic.com/library/edge/?source=UE4&id=using_features_generatecommandlet.html)

This is because in UGenerateSoundBanksCommandlet::Main() the autosave property is hard coded to true (builder->AutoSave = true;). Which resulta in packages getting saved during the soundbank builder DoWork(). When a package is saved its Dirty flag is cleared...
But at the end of the commandlet, it tries to find the dirty packages for check in using -> FEditorFileUtils::GetDirtyContentPackages(PackagesToSave);
But all the packages have previously been saved! So PackagesToSave is always empty!
USourceControlHelpers::CheckInFiles() is only called if (PackagesToSave.Num() > 0).... 
It is always empty, because all the dirty packages were already saved earlier in the generation....

The workaround is to comment out this line in GenerateSoundBanksCommandlet.cpp(306)
builder->AutoSave = true;
But it is desirable that changed files do get saved, so this is not a good solution..

Can anyone confirm this? I tried reporting a bug through the Wwise launcher, but it is stuck trying to get versions from the server :(

in General Discussion by Simon G. (220 points)

Please sign-in or register to answer this question.

...