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
- Crash on EditorOnlyPlayerSettings::GetDefaultTextureCompressionFormat when switching or opening a specific project with Android or IOS Platform
- [Mobile] Player silently crashes on a mobile device when using a lot of "Camera" GameObjects (40 and more) in the Scene
- Scene is modified after exiting Play Mode when Graphics Compositor is enabled in HD RP
- Shortcuts inconsistently trigger when they have a conflict with the same Command
- On Script import/reimport MonoImporter does not generate consistent results due to updating Custom packages
Resolution Note (fix version 2021.2):
System.IO.Compression has been added as a reference to assemblies targeting .Net 4.7.1.