Search Unity

Feedback How to manage packages inside the project?

Discussion in 'Package Manager' started by konsic, Aug 28, 2019.

  1. konsic

    konsic

    Joined:
    Oct 19, 2015
    Posts:
    995
    I would like to delete all packages inside project, only will leave HDRP.

    But how do I do that? Packages are not inside the folder on my hard drive.

    How to delete unwanted?
     
  2. Favo-Yang

    Favo-Yang

    Joined:
    Apr 4, 2011
    Posts:
    464
    Edit your Package/manifest.json
     
  3. konsic

    konsic

    Joined:
    Oct 19, 2015
    Posts:
    995
    How?
     
  4. Favo-Yang

    Favo-Yang

    Joined:
    Apr 4, 2011
    Posts:
    464
    For example, the given Packages/manifest.json, shows one dependency on local package (package located on file system, but outside your Packages folder). Just remove that line with file:..., and back to unity, wait it get refreshed.

    ```
    {
    "dependencies": {
    "com.littlebigfun.addressable-importer": "file:C:/Users/mac/Documents/projects/unity-addressable-importer",
    "com.unity.addressables": "1.1.9",
    "com.unity.ads": "2.0.8",
    "com.unity.analytics": "3.3.2",
    ...
    ```
     
    konsic likes this.
  5. konsic

    konsic

    Joined:
    Oct 19, 2015
    Posts:
    995
    How do I open manifest.json? Inside Unity with VSCommunity or outside Unity?
     
  6. Favo-Yang

    Favo-Yang

    Joined:
    Apr 4, 2011
    Posts:
    464
    Any editor is okay.