Search Issue Tracker
Fixed in 2019.4.X
Votes
0
Found in
Issue ID
1372600
Regression
No
Missing package.json on already installed local-tarball is causing errors when opening a project
If, for some reason, the package.json file is removed for a local tarball package in the project cache (Library\PackageCache), the project will open with errors, and the package will not be loaded in the project.
This issue goes away if the project is opened again or if a resolve operation is triggered after the failed resolve operation happens. When a resolve operation finishes, we remove from the project cache the packages that were resolved with errors, so next time the package is needed, it is installed again, the package is fully restored, and the problem is not present anymore.
Reproduction steps:
Create/open a project and add a local tarball
Close Unity
Locate in the file system the project. Navigate to the project cache folder Library\PackageCache.
Go to the folder corresponding to the tarball package and delete only the package.json present in the folder.
Open the project again
Expected Result:
The project is opened without errors
Actual Result:
There will be an error while opening the project stating that the package.json from the local tarball in the project cache can not be found.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- PlayerLoop.SetPlayerLoop() function is ignored when playing game in Player
- Lighting data is carried over from one Scene to another when changing Scenes in the Play Mode
- The <sprite> tag inserted image from a Sprite Asset into the UI Builder Button disappears when the Inlined Style Text Shadow Horizontal or Vertical Offset is set to be more than 0 px
- Build fails when building with ILCPP Scripting Backend and ARMv7 as the Target Architecture
- Textures turn black in Player when they are referenced by a script instance
Add comment