Search Issue Tracker
Fixed
Fixed in 6000.0.47f1, 6000.1.0b15, 6000.2.0a9, 7000.0.0a1
Votes
0
Found in
6000.0.19f1
6000.1.0b9
6000.2.0a9
7000.0.0a1
Issue ID
UUM-102231
Regression
No
Package Manager registration events are not triggered when changing registry
*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:
{code:java}
{
"name": "npmjs",
"url": "https://registry.npmjs.org/",
"scopes": [
"com.stansassets"
]
}
{code}
# Add the package {{com.stansassets.scene-management@0.1.1-preview}} in the Unity project.
# Modify the scoped registry configuration to use OpenUPM instead
{code:java}
{
"name": "OpenUPM",
"url": "https://package.openupm.com",
"scopes": [
"com.stansassets"
]
}
{code}
# Wait for the {{resolve}} operation to be completed
*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.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Toolkit meshes are fully rendered and rasterized when opacity is 0
- Light rendering artefacts appear in the Editor when assigning unsupported 3D Custom Render Texture in Camera’s Output Texture, unclearable errors and warnings spammed
- Memory leak when running a test with "GfxThreadingMode" set to "SplitJobs"
- Loading Unloaded unsaved Scene throws “ArgumentException” error in the Console
- Crash on std::__1::__tree_const_iterator when opening the Build Profiles window in a specific project
Add comment