Excellent, now we are getting to very specific errors, with direct actions available. Checking both logs, I found two issues with multiple instances:
The first problem, there are calls to invalid asset references, marked as “NeverCook”
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.
UATHelper: Packaging (Windows): Source package: /Game/Story/CharacterUI/UI_PirateIcon
UATHelper: Packaging (Windows): Target package: /Game/Story/CharacterUI/AD_4nXd4p8fmbiZ2GCeIVnWc28lPRcdGhhKPdn0JImcGvroJrIQq_KVHzkc6_HXI-vdeca4F72of-cvTCnHYufaEToZAV8iMEi5GdxMK_WM8adM0R6amSn8DVDitxl80q8IhrsGGpKPvew
UATHelper: Packaging (Windows): Referenced object: /Game/Story/CharacterUI/AD_4nXd4p8fmbiZ2GCeIVnWc28lPRcdGhhKPdn0JImcGvroJrIQq_KVHzkc6_HXI-vdeca4F72of-cvTCnHYufaEToZAV8iMEi5GdxMK_WM8adM0R6amSn8DVDitxl80q8IhrsGGpKPvewLogCook: 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.
UATHelper: Packaging (Windows): Source package: /Game/Story/CharacterUI/UI_PirateIcon
UATHelper: Packaging (Windows): Target package: /Game/Story/CharacterUI/AD_4nXd4p8fmbiZ2GCeIVnWc28lPRcdGhhKPdn0JImcGvroJrIQq_KVHzkc6_HXI-vdeca4F72of-cvTCnHYufaEToZAV8iMEi5GdxMK_WM8adM0R6amSn8DVDitxl80q8IhrsGGpKPvew
UATHelper: Packaging (Windows): Referenced object: /Game/Story/CharacterUI/AD_4nXd4p8fmbiZ2GCeIVnWc28lPRcdGhhKPdn0JImcGvroJrIQq_KVHzkc6_HXI-vdeca4F72of-cvTCnHYufaEToZAV8iMEi5GdxMK_WM8adM0R6amSn8DVDitxl80q8IhrsGGpKPvew.AD_4nXd4p8fmbiZ2GCeIVnWc28lPRcdGhhKPdn0JImcGvroJrIQq_KVHzkc6_HXI-vdeca4F72of-cvTCnHYufaEToZAV8iMEi5GdxMK_WM8adM0R6amSn8DVDitxl80q8IhrsGGpKPvew
As for the second problem, there are three calls to an element with a name too long for Windows to handle:
Error: Couldn’t save package, filename is too long (280 >= 260): C:/Users/elyse/OneDrive/Documents/Unreal Projects/piratesPrototype/Saved/Cooked/Windows/piratesPrototype/Content/Story/CharacterUI/AD_4nXd4p8fmbiZ2GCeIVnWc28lPRcdGhhKPdn0JImcGvroJrIQq_KVHzkc6_HXI-vdeca4F72of-cvTCnHYufaEToZAV8iMEi5GdxMK_WM8adM0R6amSn8DVDitxl80q8IhrsGGpKPvew.uasset
Now, to resolve issue 1, find the references to “Story/CharacterUI/UI_PirateIcon” and “Story/CharacterUI/AD_4nXd4 … .uasset”, either fix redirectors, or reassign/remove the references all together.
Then, for issue 2, since OneDrive already extends your name files, move your project to a shorter folder path (example: C:/UEPro/piraProto/). As an alternative, although not recommended due possible plugin issues, is to enable long paths in Windows itself, following the instructions below:
After all these steps are complete, please repeat the project clear, via deleting the contents from Intermediate, Saved, and DerivedDataCache (not Binaries this time), run “Fix up Redirectors” in all folders of the Content Browser, and finally, try to pack the project again. Hopefully, this should be the one.