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
- Input Field ignores first keyboard input when calling Focus() from code
- GC Alloc when using Graphics.RenderMeshInstanced
- [VFX Graph][URP] VFX crashes on URP when dragging VFX asset to the Hierarchy window
- InvalidOperationException when using AsyncGPUReadback.RequestIntoNativeArray
- Generated Entities look different when Depth Priming Mode is changed
Resolution Note (fix version 2020.2):
Fixed in 2021.1.0a1