This is a submission for DEV's Summer Bug Smash: Smash Stories, powered by Sentry.

We had already done the obvious thing.

The Unreal Engine 5 project was copied to a very short build root. Folder names were trimmed. The packaging workspace was deliberately shallow.

Cook still failed with the familiar pair:

Couldn't save package, filename is too long (... >= 260)