Search Issue Tracker

By Design

Votes

0

Found in

2019.3

2019.3.0f6

2020.2

Issue ID

1218822

Regression

No

Package dependency checks do not work as intended for Local Packages

Packman

-

How to reproduce:
1. Open the attached (DependencyTestcase_Unity2019.3.zip) project
2. Open Package Manager Window
3. Press "+" in the top left corner of Package Manager Window -> Select "Add Package from a disc"
4. Navigate to "/NMY Packages/NMY TouchInteraction3D" -> select "Package.json"
5. Observe the Console Window error (this is the intended behavior)
5. Now repeat the 3rd step -> Navigate to "/NMY Packages/NMY Core" -> select "Package.json"
6. Observe the Console Window

Expected result: This should fail with the Package dependency error (Installed "NMY Core" has version 1.1.3, but "NMY TouchInteraction3D" depends on 1.2.0)
Actual result: Installation succeeds without any errors

Reproducible with: 2019.3.4f1, 2020.2.0a1

Notes:
- Could not test on 2018.4 and lower versions, as "Add Package from a disc" was not yet introduced in those versions

Add comment

Log in to post comment