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
- Size of ShadowCaster2D with Casting Source set to a Collider increases when RigidBody2D is attached to the GameObject
- GameObjects with a material derived from a Custom Lighting Surface Shader are displayed as skewed on quads when the Camera's Width and Height properties of the Viewport Rect are lower than 1
- Warning 'Unable to find player assmebly' is thrown when building some Project Templates
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
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