Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Force refresh local packages

Discussion in 'Package Manager' started by ROBYER1, Oct 8, 2019.

  1. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    347
    Is it possible to force package manager to refresh local packages? For example we are using the SRP Main repo in our project and sometimes once a change has been pulled into the folder with the packages for SRP, Package manager doesn't update them all or their dependencies which are all linked from the folder locally.
     
  2. BobTheMinion01

    BobTheMinion01

    Unity Technologies

    Joined:
    Oct 7, 2019
    Posts:
    6
    Hey there,

    I need more information such as :
    - How are you installing your packages (git/local/etc)?
    - Do all you packages have dependencies?
    - What do you mean by update them all?
    - Can you add videos and/or screenshots?

    Thank you,
     
  3. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    347
    Our local packages are for UniversalRP, Core RP and Shader Graph (all dependant) and pulled from a local git repo on disk


    "com.unity.render-pipelines.core": "file:D:/Unity Packages/Unity SRP Main/com.unity.render-pipelines.core",
    "com.unity.render-pipelines.universal": "file:D:/Unity Packages/Unity SRP Main/com.unity.render-pipelines.universal",
    "com.unity.shadergraph": "file:D:/Unity Packages/Unity SRP Main/com.unity.shadergraph",

    By update them all I mean force a refresh, although in the most recent betas the repos do seem to be updating correctly