Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2019.4.X, 2020.3.X, 2021.1.X
Votes
0
Found in
2018.4
2019.4.9f1
2021.1
Issue ID
1275859
Regression
No
Console errors are thrown when using System.IO.Compression in the Editor folder
Reproduction steps:
1. Download and open the attached "SystemCompression" project
2. In the Project window, move the "Test" script file to the "Editor" folder
Expected result: No errors appear in the Console window
Actual result: "Assets/Editor/Test.cs(5,9): error CS1069: The type name 'ZipArchive' could not be found in the namespace 'System.IO.Compression'" error appears in the console window
Reproduces on: 2018.4.27f1, 2019.4.14f1, 2020.1.13f1, 2020.2.0b11, 2021.1.0a3
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Resources.UnloadUnusedAssets() freezes the Editor when releasing Mesh objects
- 16-bit Sprite Textures have a banding effect and loss of data when packing into Variant Sprite Atlas
- HDRP Cluster artifacts when having more than 100 lights
- ParticleCollisionEvent.intersection generates extremely high values when particles collide while in Play Mode
- Custom attributes are not properly converted to subgraphs
Resolution Note (fix version 2021.2):
System.IO.Compression has been added as a reference to assemblies targeting .Net 4.7.1.