Unity Issue Tracker - Package Manager registration events are not triggered when changing registry
Fixed
UUM-102231
Package Manager registration events are not triggered when changing registry
Unity: Packman
Fixed
6.2.X
6.1.X
6.0.X
Description:
When switching the registry of an already installed package without changing its version, the Unity Package Manager scripting events registeredPackages and registeringPackages are not fired. This causes issues for workflows that rely on these events to detect package updates or changes in dependencies.
Steps to reproduce:
Add the following scope registry to manifest.json:
Actual results:
Observe that the registeredPackages and registeringPackages events are not triggered after switching the registry.
Expected results:
The registeredPackages and registeringPackages events should trigger when a package's registry changes, even if the package version remains the same.
Note:
The packages are correctly installed from the correct registry, it is just the event that are not triggered.
Prioritise and Follow this issue
Have a workaround or additional info about this issue?