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

Scripting

-

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

  1. Resolution Note (fix version 2021.2):

    System.IO.Compression has been added as a reference to assemblies targeting .Net 4.7.1.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.