Hey folks,
I just wanted to offer some feedback on the incremental cooking feature. I tried it out for our project and figured I should let you know our results while it’s still in development.
Firstly, I enabled it by launching the editor and enabled the “Use ZenStore as cooking output” checkbox, which toggled “bUseZenStore=true” in DefaultGame.ini. That’s the only change to any ini files in our project that I currently have.
I then performed a full cook in the editor, and ran a Development Client build of our project, which ran successfully.
I then copied the command line args from the log of that cook run, and added “-cookincremental” to the end, and then ran that through Visual Studio. Using Development Editor, and putting those command line args in UnrealVS’ command line args box.
The results of this were that it appears to have made no difference to the time it takes to cook, or the amount of work done. Both full and incremental cooks took about 17 minutes. That was with zero changes to assets in between runs. Both runs processed exactly the same amount of assets, according to the logs. (I will admit, internally I don’t know if that means work was actually done or if they were just inspected and recorded.)
The log for the incremental one does have the following line present:
> LogCook: Display: INCREMENTAL COOK: -cookincremental was specified and global settings are still valid. Keeping previously cooked packages for platform WindowsClient and cooking only packages that have been modified.
So it appears that the settings are being acknowledged. I’d be happy to work with you folks to puzzle out exactly why it seems to have made little difference. If you think it’d help. Otherwise like I said in my opener, I felt like it’d be valuable to offer my experiences while the feature is in development.
Many thanks,
David