Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Package Manager scans files it shouldn't

Discussion in 'Package Manager' started by Rowlan, Aug 9, 2020.

  1. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,200
    I usually rename a unitypackage before I update it with a newer version, I never let the updater replace a file. You never know what breaks with an update and it's good to have a backup.

    Problem: The new package manager gets confused with that.

    Example:

    I have version 1.3.7 of River Auto Material on my system. So I renamed that unitypackage and clicked update. 1.3.9 is the most current one. The package manager downloaded that new version, however it only provides me the 1.3.7 version for installation.

    pm.png

    Just for reproduction, the most updated files are in:

    C:\Users\<username>\AppData\Roaming\Unity\Asset Store-5.x\NatureManufacture\Editor ExtensionsTerrain

    * RAM 2019 - River Auto Material 2019.unitypackage

    while the other versions are in a backup folder

    C:\Users\<username>\AppData\Roaming\Unity\Asset Store-5.x\NatureManufacture\Editor ExtensionsTerrain\Backup

    * RAM 2019 - River Auto Material 2019 - 2020-06-20.unitypackage
    * RAM 2019 - River Auto Material 2019 - 2020-04-08.unitypackage
    * RAM 2019 - River Auto Material 2019 - 2020-03-01.unitypackage

    It would be really nice if there were an option to have Package Manager create a backup automatically.
     
    Last edited: Aug 12, 2020
  2. hbonin

    hbonin

    Unity Technologies

    Joined:
    Feb 11, 2020
    Posts:
    54
    Rowlan likes this.