mob-sakai / GitDependencyResolverForUnity

This plugin resolves git url dependencies in the package for Unity Package Manager. You can use a git url as a package dependency!
MIT License
248 stars 33 forks source link

GUID refs to a dependency package are broken. #31

Open ThomasBousquet opened 3 years ago

ThomasBousquet commented 3 years ago

GUID do not resolve properly between a package B depending on a package A and using one its public classes.

To Reproduce Steps to reproduce the behavior:

  1. In package manager, add this package: https://github.com/ThomasBousquet/PackageB.git
  2. Notice that package A is added to the Custom packages automatically.
  3. See error in Console
  4. browse to Package B editor Script Definition and notice the broken GUID

NOTE:

  1. Restarting the editor does not resolve the issue
  2. if the user adds another package, the error sometimes goes away, and the GUID ref do not appear broken anymore.
  3. adding packageA then package B manually does not produce the error.

Expected behavior The GUID refs are properly maintained.

Screenshots ConsoleError ASMDEF in other project ASMDEF in Package project PackageManager

Environment

WaynGames commented 3 years ago

I'm just starting using this solution and facing this issue, is that a regression or does it also affect previous versions ?

ThomasBousquet commented 3 years ago

@WAYNGROUP I don't know; I also just started using this; and haven't tried fetching previous versions.