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
- "Invalid SortingGroup index set in Renderer" errors when making many modifications in same frame
- Crash on GizmoBufferSizeHistory::GetBuffer() when opening a specific scene
- RenderTexture is not initialized when it is set as Material's Texture
- Branch node outputs a random value instead of a constant on the false conditon
- Shader Graph Material is left in broken state when switching from a .git branch with no HDRP to a branch that contains HDRP
Resolution Note (fix version 2021.2):
System.IO.Compression has been added as a reference to assemblies targeting .Net 4.7.1.