Hello!
My team has recently started experimenting with Multiprocess Cooking. It has the potential to significantly speed up our cook times, since cooks take upwards of 6 hours for some of our devs, and multiprocess can get that under 2.
However, we’re seeing inconsistent cook failures from these devs. Namely, the cook will spit out “Missing From Cook” on assets that cook just fine if you use a single-process cook with the exact same assets and configuration. There’s a few variations of this error we’re seeing; some users report missing OFPA content from our main level, others missing actors. But the most common one and the best one to start with is, our Chooser Tables full of combat animations almost always fail to cook with Multiprocess Cook. For example, I see dozens of failures of this sort, one for each entry in our table:
LogInit: Display: LogCook: Error: Content is missing from cook. Source package referenced an object in target package but the target package was marked NeverCook or is not cookable for the target platform.
Source package: /Game/Animation/Choosers/<character_name>/Death/CT_Death_<character_name>
Target package: /Game/Animation/Anims/<character_name>/Death/Montages/<character_name>_Death_FromBack_Impact_Head_Montage
Referenced object: /Game/Animation/Anims/<character_name>/Death/Montages/<character_name>_Death_FromBack_Impact_Head_Montage
I have recooked the exact same changeset with a single process cook, and it succeeded. I am forced to assume there is some cook context being lost when cross the boundary of threads?
Any guidance would be appreciated. Thank you!
[Attachment Removed]