Failed on setup with InvalidDataException: The archive entry was compressed using an unsupported compression method

Hello, Experts,

i hit this error while running setup.bat where code was downloaded from github.
is it a known issue? or my pc (win11) missed some specific libararies?

// Error as below
PS C:\Users\Administrator\UnrealEngine> .\setup.bat -exclude=Linux -exclude=IOS -exclude=HTML5 -exclude=Android
Checking dependencies (excluding Linux, IOS, HTML5, Android)…
Updating dependencies: 0% (0/86082)…
Failed to download ‘http://cdn.unrealengine.com/dependencies/UnrealEngine-20435886/013142f0b3e1035b05de3a96ff703d6874dd46f9’: InvalidDataException: The archive entry was compressed using an unsupported compression method.
at System.IO.Compression.Inflater.Inflate(FlushCode flushCode)
at System.IO.Compression.Inflater.ReadInflateOutput(Byte* bufPtr, Int32 length, FlushCode flushCode, Int32& bytesRead)
at System.IO.Compression.Inflater.ReadOutput(Byte* bufPtr, Int32 length, Int32& bytesRead)
at System.IO.Compression.Inflater.InflateVerified(Byte* bufPtr, Int32 length)
at System.IO.Compression.DeflateStream.ReadCore(Span1 buffer) at System.IO.Compression.DeflateStream.Read(Byte[] buffer, Int32 offset, Int32 count) at System.IO.Compression.GZipStream.Read(Byte[] buffer, Int32 offset, Int32 count) at GitDependencies.Program.ExtractFilesFromRawStream(Stream RawStream, IncomingFile[] Files, SHA1 RawStreamHasher)Wrapped by CorruptPackFileException: Can't read from pack stream at GitDependencies.Program.ExtractFilesFromRawStream(Stream RawStream, IncomingFile[] Files, SHA1 RawStreamHasher) at GitDependencies.Program.ExtractFilesThroughCache(Stream InputStream, String FileName, Int64 CompressedSize, String ExpectedHash, IncomingFile[] Files) at GitDependencies.Program.DownloadAndExtractFiles(String Url, Uri Proxy, String CacheFileName, Int64 CompressedSize, String ExpectedHash, IncomingFile[] Files, Double HttpTimeoutMultiplier, NotifyReadDelegate NotifyRead)Wrapped by AggregateException: One or more errors occurred. (Can't read from pack stream) at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at GitDependencies.Program.DownloadWorker(ConcurrentQueue1 DownloadQueue, AsyncDownloadState State, Double HttpTimeoutMultiplier, Int32 MaxRetries, CancellationToken CancellationToken)

1 Like

Might be this:
Upcoming Disruption of Service Impacting Unreal Engine Users on GitHub - General / Announcements - Epic Developer Community Forums

1 Like

I had the same issue and this took care of it. Thanks!

@mjl2021 Did @CerebralFrost_EH’s link fix your issue as well?

@SCS_Kwame Welcome to the forums!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.