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
- NullReferenceException when setting 'isTextObjectScaleStatic' to false on a disabled TextMeshPro GameObject
- Shader Stripping Custom Options disappear when exiting Play mode without reloading Domain
- Decals do not get projected when 'Rendering Layer Mask' on a GameObject is 23rd Layer or above due to encoding/decoding issues
- Deriving from SearchContextAttribute doesn't always work
- Scripting API documentation is missing for macOS editor extensions
Resolution Note (fix version 2021.2):
System.IO.Compression has been added as a reference to assemblies targeting .Net 4.7.1.