Search Unity

Adding a dependency to an asset store product in a project's manifest.json?

Discussion in 'Package Manager' started by PhilSA, May 11, 2021.

  1. PhilSA

    PhilSA

    Joined:
    Jul 11, 2013
    Posts:
    1,615
    I am wondering if it is possible to add a dependency to an asset store product in a project's Packages/manifest.json.

    The end goal would be this:
    • Have an asset on the asset store.
    • Make a public "Samples" project repository for that asset on github.
    • Make that "Samples" project's manifest.json include a dependency to the store asset.
    • When a user downloads & opens the "Samples" project, if they have purchased the original asset, it is automatically imported into the project. If they haven't purchased the original asset, it is not imported and errors show up.
    Is this currently possible?
     
  2. UnityMaru

    UnityMaru

    Community Engagement Manager Unity Technologies

    Joined:
    Mar 16, 2016
    Posts:
    1,082
    Hey there. Having spoken to the team, it is not possible for a project to depend on an Asset Store product.
     
unityunity