Unreal 5.3.2 - can't package project for Windows

I’m not able to package any Windows project - even a default First Person level. I’ve installed the Windows and .NET SDKs, and set them up as shown in various guides (copying the hostfxr.dll etc.). The build always fails with “Error: Failed to read command list file ‘C:\Users[USER]\AppData\Roaming\Unreal’”.

There is no “Unreal” folder at this location (only an “Unreal Engine” one), so it’s understandable it can’t find the “command list file”. I haven’t been able to find anything online which hints what the file is for, though, or whether the directory can be specified anywhere.

I also get these errors:

PackagingResults: Error: Unknown Error

And:

libcurl error: 65 (Send failed since rewinding of the data stream failed)

I’ve got a project ready to package, for which I’ve spent a week successfully resolving all manner of technical problems. To fall at the final fence is pretty frustrating. Any suggestions gratefully received.

Is that with a C++ project? Are there any other errors in the build logs?

Thanks for replying. I’m now trying it with the default First Person Map, with no changes whatsoever, in order to eliminate issues with my project. It still fails in the same way. There appears to be no problem cooking the project, but get these errors:

PackagingResults: Error: Failed to read command list file ‘C:\Users\[redacted]\AppData\Roaming\Unreal’.

PackagingResults: Error: Unknown Error

There are no warnings. Can post the full log if it would be helpful. FWIW I get the same result with 5.2.1, again with an unaltered FPM. Windows 11, latest updates. Blueprints only, no C++. I’ve tried uninstalling / reinstalling Unreal.

This is my first time packaging a project, so could be making a schoolboy error.

Edit - more came through in the Output Log (ignore the emojis - they were created automatically!):

Error:
LogHttp: Warning: 00000829FBA98C00: request failed, libcurl error: 65 (Send failed since rewinding of the data stream failed)

Warnings:
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 0 (Found bundle for host: 0x829a1950a20 [serially])
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 1 (Re-using existing connection with host datarouter.ol.epicgames.com)
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 2 (We are completely uploaded and fine)
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 3 (TLSv1.2 (IN), TLS alert, close notify (256):slight_smile:
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 4 (Connection died, retrying a fresh connect (retry count: 1))
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 5 (state.rewindbeforesend = TRUE)
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 6 (Closing connection)
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 7 (TLSv1.2 (OUT), TLS alert, close notify (256):slight_smile:
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 8 (Issue another request to this URL: ‘https://datarouter.ol.epicgames.com/datarouter/api/v1/public/data?SessionID={255F9C71-4D16-913A-5C7C-ADBE971CA09A}&AppID=UEEditor.Rocket.Release&AppVersion=5.3.2-29314046%2B%2B%2BUE5%2BRelease-5.3&UserID=ebe1d6544e2cbc1508c24297cc2f6990|842030d52982437bb06ea2fb8ece2003|5c681a74-f9f9-4e97-a42e-ab7281acccd7&AppEnvironment=datacollector-binary&UploadType=eteventstream’)
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 9 ( Trying 54.86.223.135:443…)
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 10 (Connected to datarouter.ol.epicgames.com (54.86.223.135) port 443)
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 11 (ALPN: curl offers http/1.1)
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 12 (SSL reusing session ID)
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 13 (TLSv1.3 (OUT), TLS handshake, Client hello (1):slight_smile:
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 14 (TLSv1.3 (IN), TLS handshake, Server hello (2):slight_smile:
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 15 (TLSv1.2 (IN), TLS handshake, Certificate (11):slight_smile:
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 16 (TLSv1.2 (IN), TLS handshake, Server key exchange (12):slight_smile:
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 17 (TLSv1.2 (IN), TLS handshake, Server finished (14):slight_smile:
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 18 (TLSv1.2 (OUT), TLS handshake, Client key exchange (16):slight_smile:
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 19 (TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):slight_smile:
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 20 (TLSv1.2 (OUT), TLS handshake, Finished (20):slight_smile:
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 21 (TLSv1.2 (IN), TLS handshake, Finished (20):slight_smile:
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 22 (old SSL session ID is stale, removing)
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 23 (SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256)
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 24 (ALPN: server accepted http/1.1)
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 25 (Server certificate:)
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 26 ( subject: CN=datarouter.cfef.live.use1a.on.epicgames.com)
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 27 ( start date: Mar 4 00:00:00 2024 GMT)
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 28 ( expire date: Apr 2 23:59:59 2025 GMT)
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 29 ( subjectAltName: host “datarouter.ol.epicgames.com” matched cert’s “datarouter.ol.epicgames.com”)
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 30 ( issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M03)
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 31 ( SSL certificate verify ok.)
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 32 (using HTTP/1.1)
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 33 (necessary data rewind wasn’t possible)
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 34 (Closing connection)
LogHttp: Warning: 00000829FBA98C00: libcurl info message cache 35 (TLSv1.2 (OUT), TLS alert, close notify (256):slight_smile:
LogHttp: Warning: Retry exhausted on https://datarouter.ol.epicgames.com/datarouter/api/v1/public/data?SessionID={255F9C71-4D16-913A-5C7C-ADBE971CA09A}&AppID=UEEditor.Rocket.Release&AppVersion=5.3.2-29314046%2B%2B%2BUE5%2BRelease-5.3&UserID=ebe1d6544e2cbc1508c24297cc2f6990|842030d52982437bb06ea2fb8ece2003|5c681a74-f9f9-4e97-a42e-ab7281acccd7&AppEnvironment=datacollector-binary&UploadType=eteventstream

Please check at folder ‘C:\Users[name]\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.3’ and post here a zipped version of the log for your project.

Log.zip (13.5 KB)

It is telemetry. You can disable it in Editor settings

Thanks. I’d noticed some other threads discussing that recently - doesn’t seem to be a fatal error.

Still need to figure out the main issue, that refers to the ‘command list’.

Found a workaround. After investigating what was supposed to be at the command list file path, found it’s a file called IoStoreCommands.txt. Googling that, it seems to relate to setting up Pak files. I then found that unchecking both ‘Use Pak File’ and ‘Use Io Store’ in the Packaging Settings allowed the game to build.

Not a solution, but should offer further clues as to what is going on.

Thanks for the update. I was creating a ‘first person’ project from scratch and comparing the built logs. According to the logs there is virtually no difference, except that your packaging crashes at the known point.

It still could be an issue with corrupted configuration, either with Unreal or on the Windows host.

Thanks for looking into this.

Is there a master Unreal config file somewhere? Does this get deleted when the UE is uninstalled? If not, it would explain why uninstalling / reinstalling did nothing to help.

Could Windows Defender be interfering with anything (I don’t use any other AV software)? I tried disabling real-time scanning and the firewall, but it didn’t help.

There are a bunch of .ini files in the main UE_5.3 folder, but you get the same issue with UE5.2.1, right?

Yes, 5.2.1 is the same.

Your UE editor is installed on ‘D:\Epic Games\UE_5.3’ - is this just to have all Unreal related things at one place or are you running out of disksspace on your c: drive?

The former - I’ve got loads of free space on C.

(post deleted by author)