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

Will Unity Accelerate import assets if I delete the Library Folder or download them from Cache?

Discussion in 'Unity Accelerator' started by abhiqweebi, Jun 11, 2022.

  1. abhiqweebi

    abhiqweebi

    Joined:
    May 26, 2021
    Posts:
    9
    In our CI pipeline - sometimes we get conflict and a build fails. These are usually fixed by deleting the library folder. If we set up Unity Accelerate will the assets be reimported or downloaded from cache?
     
  2. unity_Jonny

    unity_Jonny

    Unity Technologies

    Joined:
    Feb 11, 2020
    Posts:
    22
    Interaction with the Accelerator cache is triggered during asset importing. So if you are connected to the Accelerator and import an asset it will get uploaded to the cache.
    If you then delete the library folder and re-open the project, all assets import results will be downloaded from the Accelerator.
    If you are not connected to the Accelerator at the time of importing, then the import result will not get uploaded, and the only way to trigger the upload when the Accelerator is later connected would be to manually reimport the asset again, either by right clicking that asset in the project browser and selecting ReImport (or ReImport All), or by forcing a reimport via a script, or by deleting the Library folder and re-opening the project.