Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2019.4.X, 2020.3.X, 2021.1.X
Votes
0
Found in
2019.4
2020.2
2021.1
2021.2
2021.2.0a1
Issue ID
1299834
Regression
No
[Packman] packages-lock.json file is overwritten when resolving packages
How to reproduce:
1. Create and open a new project
2. Open the Packages folder and observe the Date Modified value of the packages-lock.json file
3. Open the Package Manager window in the Editor
4. Click the refresh icon in the Package Manager window and select Manual Resolve
5. Open the Packages folder
Expected results: the Date Modified value of the packages-lock.json file hasn't changed since packages haven't changed
Actual results: the Date Modified value of the packages-lock.json file has changed
Reproducible with: 2019.4.16f1, 2020.2.0f1, 2021.1.0a10, 2021.2.0a1
Could not test with: 2018.4.30f1
Notes:
-This issue is most prominent when using version control, such as Perforce since this issue causes the packages-lock.json to get checked out
-The same issue can be reproduced by dirtying the manifest.json file and causing a resolve operation this way
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
- Text cursor remains visible when hovering over Command Line Arguments scrollbar in Unity Hub
- UI Builder’s "Background" icons for Repeat Y/X, Position X/Y and Slice Type are low quality and blurry in the Inspector window
- “X” button in Editor version search filter is difficult to see when Unity Hub theme is set to Dark
- [Android] The y-value of Input.mouseScrollDelta is positive when scrolling in both directions in the Player
- Crash on TexturesD3D11Base::SetTexture when using DirectX11
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a7
Resolution Note (fix version 2021.1):
Fixed in 2021.1.2f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.2f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.24f1