Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    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:
    5
    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:
    8
    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.