Search Unity

Question Which folders are safe to delete? NPM/Packages folders.

Discussion in 'Package Manager' started by Stardog, Jun 15, 2020.

  1. Stardog

    Stardog

    Joined:
    Jun 28, 2010
    Posts:
    1,913
    AppData\Local\Unity\cache\npm
    AppData\Local\Unity\cache\npm\packages.unity.com
    AppData\Local\Unity\cache\packages\packages.unity.com

    Which ones can I delete without breaking projects?
     
    AlterMannn, M995 and Lex4art like this.
  2. Stardog

    Stardog

    Joined:
    Jun 28, 2010
    Posts:
    1,913
    Anyone know?
     
  3. JurjenBiewenga

    JurjenBiewenga

    Joined:
    Mar 28, 2018
    Posts:
    24
    Those should all be fine to delete, Unity will redownload the latest version of the package though.
     
    art092 likes this.
  4. UnityMaru

    UnityMaru

    Community Engagement Manager PSM

    Joined:
    Mar 16, 2016
    Posts:
    1,227
    Hey there!

    There's not really any side effects to deleting these folders other than that Unity will have to re-download a good chunk of those next time a project is opened.
     
    Lex4art likes this.
  5. Lex4art

    Lex4art

    Joined:
    Nov 17, 2012
    Posts:
    445
    Ugh, there was 17 Gigs in AppData\Local\Unity\cache\npm + packages foldsers... and 4GB+ of Unity editor crashdumps in AppData\Local\CrashDumps... After removing all that my poor 128GB system SSD now has some breathing room (2GB were added again after restarting Unity project, but this is all for now).
     
  6. SUfIaNAHMAD_

    SUfIaNAHMAD_

    Joined:
    Jun 19, 2019
    Posts:
    18
    What is meant by NPM!
     
    Gamba04 likes this.
  7. EvanBindz

    EvanBindz

    Joined:
    Jul 27, 2016
    Posts:
    3
    NPM likely refers to Node Package Manager, a widely used node.js package manager akin to pip for python.
     
    Gamba04 likes this.