Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    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


    May 26, 2021
    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 Technologies

    Feb 11, 2020
    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.