Critical Error on Begin Cook

Hello,

I’m currently receiving a critical error while packaging our game on a build machine. I am using BuildGraph to cook and have tried both invoking BuildCookRun as well as the individual cook task but unfortunately, they both fail.

The crash itself happens shortly after it logs Building Assets For WindowsNoEditor citing:

Assertion failed: Result [File:C:\Workspaces\Engine\Engine\Source\Developer\TargetPlatform\Private\TargetPlatformManagerModule.cpp] [Line: 497]

You can find the crash log attached.

Please do let me know if there is anything else you need from me, alternatively if anyone knows of any arguments I can pass to the cooker in order to set it to log verbosely that would be very much appreciated!

Thanks heaps!