menu
 

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

0 투표

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 :(

General Discussion Simon G. (220 포인트) 로 부터

Please sign-in or register to answer this question.

...