Search Unity

Is There A Way To Put Packages With Dependencies On The Asset Store? [solved]

Discussion in 'Package Manager' started by keenanwoodall, Apr 11, 2019.

  1. keenanwoodall

    keenanwoodall

    Joined:
    May 30, 2014
    Posts:
    560
    I'm not sure how to handle dependencies. I'm assuming it won't "just work."
     
  2. felipemunoz_unity

    felipemunoz_unity

    Unity Technologies

    Joined:
    Apr 5, 2019
    Posts:
    5
    When you say 'Packages' do you mean an Asset Store package that has dependencies in something else? Or are you talking about a Package Manager package (UPM Package) that you are trying to put in the Asset Store?

    It is my understanding that:
    • Asset Store packages do not support dependencies.
    • Package Manager packages can have dependencies but they cannot be published on the Asset Store :(

    Do you think that documenting what your dependencies are might help your case? (so that users of your package can see that on the Asset Store and be "warned" that they need extra packages in their projects)
     
  3. keenanwoodall

    keenanwoodall

    Joined:
    May 30, 2014
    Posts:
    560
    Yea, I meant putting a UPM package on the Asset Store that has dependencies. It would be cool if you could mark an asset as a UPM package on the Asset Store and when it's installed from the Asset Store UPM would actually install it as a package, but I understand if Unity doesn't want to have the Asset Store and UPM be connected. I can definitely add install instructions, but it will be a bit annoying for users as they'll have to manually assign asmdef references and look at the package.json file to install the correct dependencies/versions.
     
    Last edited: Apr 11, 2019
  4. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    575
    Stephen-Hodgson likes this.
  5. keenanwoodall

    keenanwoodall

    Joined:
    May 30, 2014
    Posts:
    560