Search Issue Tracker
By Design
Votes
1
Found in
2019.4
2020.3
2021.1
2021.2
2021.2.0b3
2022.1
Issue ID
1349064
Regression
No
Importing package causes import loop when its path is child of another imported package
Reproduction steps:
1. Open the attached project "ImportPackageLoop.zip"
2. Open Window > Package Manager
3. Click the plus and "Add package from disk..."
4. Import "FeatureSets/package.json"
5. Import "FeatureSets/Sub/package.json"
Expected result: Package is imported
Actual result: Import starts looping, attempting to import the root package and then the child package
Reproducible with: 2019.4.29f1, 2020.3.14f1, 2021.1.14f1, 2021.2.0b3, 2022.1.0a2
Could not test with: 2018.4.36f1 (unable to add package)
Note: If unable to open project due to import loop, delete the "Packages" folder
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Audio Mixer does not change volume when lowering volume on an Audio Mixer loaded from AssetBundles
- Error “Value cannot be null. Parameter name: key UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)” thrown and Addressables build fails when "Include in Build" is disabled and using Addressables For Android package
- “error CS0433: The type 'CodeBinaryOperatorType' exists in both 'System.CodeDom and 'System" compilation errors are thrown when opening a specific project
- Metal Vertex Shader warning is being thrown when creating a VR Template Project
- Asset database warning is thrown when declaring font variable in the USS text file
Resolution Note:
Having a package inside a package is not supported