Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2019.3
2020.1.0b5
2020.2
Issue ID
1237777
Regression
No
[Package Manager] Removing package with a read-only file throws UnauthorizedAccessException if package is in Packages directory
How to reproduce:
1. Open the user-supplied project "packagebugtest" from the drive link
2. Open the Package Manager and locate the "OpenVR SDK Test" package
3. Click "Remove"
Expected result: the package is removed from the Packages folder
Actual result: an UnauthorizedAccessException is thrown due to the package having a read-only file
Reproducible with: 2019.3.15f1, 2020.1.0b10, 2020.2.0a13
Could not test with: 2017.4.40f1 (no Package Manager), 2018.4.23f1 (package-related errors preventing Package Manager from being available)
Notes:
1. Reproducible when the package folder is dropped in the <project>/Packages folder and it has at least one read-only file.
2. Not reproducible on OSX.
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
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
- [Linux] Bug Reporter window is in Light mode when the Editor theme is Dark mode
Resolution Note (fix version 2020.2):
Fixed in 2021.1.0a1