Can't make a PIX capture of UE cooking

Hi yall. I need to make a PIX timing CPU capture of the cooking process (don’t recommend Unreal Insights. I know. I need to use pix)

Pix events are created fine and dandy for Unreal Editor, but I can’t get them to appear for cooking process. Empty “Present Data” field, “no pix events in capture”. Yes I use -AttachPIX (and -PIX just in case) args.
Here are some of the CMD lines I tried:

RunUAT.bat BuildCookRun -project=Project.uproject -clientconfig=Development -targetplatform=Win64 -cook -utf8output -unversionedcookedcontent -unattended -buildmachine -compressed -additionalcookeroptions=“-AttachPIX -PIX” -AttachPIX -PIX
(I’m attaching with PIX after seeing that cooking has started)

UnrealEditor-cmd.exe Project.uproject -AttachPIX -run=Cook -TargetPlatform=Windows -PIX -LogCmds=“PixWinPlugin VeryVerbose” -AdditionalCookerOptions=“-PIX -AttachPix”
(this one I tried many different ways, both attaching later and starting from PIX)

I also put every WITH_PIX_EVENT_RUNTIME and UE_EXTERNAL_PROFILING_ENABLED definition to 1 recently, and - nothing changed.
PIX version: 2509.25
UE version: 5.6, and we do modify our engine quite a bit, but I don’t think it’s important here.

Actually it’s not just cooking, it’s the cmd version of UnrealEngine?