Search Unity

Feedback New addressables version deletes library content

Discussion in 'Addressables' started by ImpossibleRobert, Aug 4, 2020.

  1. ImpossibleRobert

    ImpossibleRobert

    Joined:
    Oct 10, 2013
    Posts:
    527
    I have been using addressables to do local builds of bundles independently of each other. As of lately (at least I just discovered in 1.13.1) whenever calling

    AddressableAssetSettings.BuildPlayerContent();

    the contents of "Library\com.unity.addressables\aa\Windows" is deleted. That was not the case before. The result is that I now only have the last build bundle available while before all of them were there. Is there a way to tell the process NOT to delete the folder all the time? This is a bit annoying as I have to move my intermediate results out of the folder now and back in after building as I reference that location. Or have to come up with a new way.
     
  2. Shaunyowns

    Shaunyowns

    Joined:
    Nov 4, 2019
    Posts:
    328
    ImpossibleRobert likes this.
  3. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,820
    After circulating this with the team, it seems the only way to save the folder from being deleted is to write your own scripts for it. Apologies, as I know this isn't an ideal answer.
     
  4. ImpossibleRobert

    ImpossibleRobert

    Joined:
    Oct 10, 2013
    Posts:
    527
    Ok. As a workaround I have found that when pointing it to outside the library folder it actually works for some reason and will not delete all other bundles again.