Search Issue Tracker
Not Reproducible
Votes
0
Found in [Package]
2.2.0
Issue ID
1173926
Regression
No
[Packman] Package list will not update if registry is changed while the list is open and cause errors
[Packman] Package list will not update if registry is changed while the list is open and cause errors
If the user changes the registry in their manifest.json while the Package Manager window is already opened, Unity will resolve packages however the Package Manager will not update and continue to reference the old data, causing any attempted installations to fail and throwing errors to the console such as:
Cannot perform upm operation: Package [com.unity.2d.animation@2.2.0-preview.4] cannot be found [NotFound]
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
Steps to reproduce
- Create/open a new Unity project
- Edit the /packages/manifest.json file in the project structure, adding the following line before the last closing brace, saving changes:
, "registry": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
- Open the Package Manager window (Window > Package Manager)
- Enable preview packages (Advanced > Show preview packages)
- Select a preview package from the Candidates registry
- With this window open, return to /packages/manifest.json file and revert the changes made previously, saving your change
- Observe Unity will refresh its file system and resolve packages, but the Package Manager UI will not update, and errors will be thrown to the console
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Tile Palette selected dropdown text does not update when palette is renamed
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
- ShadowCaster2D breaks on certain Rotation positions when Casting Source is set to PolygonCollider2D
Add comment