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

**URL:** <https://forums.unrealengine.com/t/failed-on-setup-with-invaliddataexception-the-archive-entry-was-compressed-using-an-unsupported-compression-method/1157782>\
**Category:** Getting Started & Setup\
**Tags:** unreal-engine, question\
**Created:** [May 7, 2023, 3:25pm UTC](https://forums.unrealengine.com/t/failed-on-setup-with-invaliddataexception-the-archive-entry-was-compressed-using-an-unsupported-compression-method/1157782 "2023-05-07T15:25:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjl2021](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mjl2021](https://forums.unrealengine.com/u/mjl2021)\
**Post date:** [May 7, 2023, 3:25pm UTC](https://forums.unrealengine.com/t/failed-on-setup-with-invaliddataexception-the-archive-entry-was-compressed-using-an-unsupported-compression-method/1157782/1 "2023-05-07T15:25:44Z")

</div>

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](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(Span`1 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(ConcurrentQueue`1 DownloadQueue, AsyncDownloadState State, Double HttpTimeoutMultiplier, Int32 MaxRetries, CancellationToken CancellationToken)

---

<div class="post-metadata">

**Author:** ![CerebralFrost\_EH](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CerebralFrost\_EH](https://forums.unrealengine.com/u/CerebralFrost_EH)\
**Post date:** [May 9, 2023, 6:15pm UTC](https://forums.unrealengine.com/t/failed-on-setup-with-invaliddataexception-the-archive-entry-was-compressed-using-an-unsupported-compression-method/1157782/2 "2023-05-09T18:15:13Z")

</div>

> [@mjl2021](#):
>
> nvalidDataException: The archive entry was compressed using an unsupported compression method.

Might be this:  
[Upcoming Disruption of Service Impacting Unreal Engine Users on GitHub - General / Announcements - Epic Developer Community Forums](https://forums.unrealengine.com/t/upcoming-disruption-of-service-impacting-unreal-engine-users-on-github/1155880/70)

---

<div class="post-metadata">

**Author:** ![SCS\_Kwame](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SCS\_Kwame](https://forums.unrealengine.com/u/SCS_Kwame)\
**Post date:** [May 17, 2023, 1:03am UTC](https://forums.unrealengine.com/t/failed-on-setup-with-invaliddataexception-the-archive-entry-was-compressed-using-an-unsupported-compression-method/1157782/3 "2023-05-17T01:03:18Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Mind-Brain](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mind-brain/32/906573_2.png) [@Mind-Brain](https://forums.unrealengine.com/u/Mind-Brain)\
**Post date:** [May 17, 2023, 1:04am UTC](https://forums.unrealengine.com/t/failed-on-setup-with-invaliddataexception-the-archive-entry-was-compressed-using-an-unsupported-compression-method/1157782/4 "2023-05-17T01:04:22Z")

</div>

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

@SCS_Kwame Welcome to the forums!

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [June 16, 2023, 1:04am UTC](https://forums.unrealengine.com/t/failed-on-setup-with-invaliddataexception-the-archive-entry-was-compressed-using-an-unsupported-compression-method/1157782/5 "2023-06-16T01:04:56Z")

</div>

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