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
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
Add comment