Search Issue Tracker

Fixed

Fixed in 1.19.18

Votes

0

Found in [Package]

1.19.14

Issue ID

ADDR-2428

Regression

No

[Addressables] IOException clear cache error when autoCleanBundleCache has value of 'true' in Addressables.UpdateCatalogs

Package: Build Pipeline - Addressables

-

How to reproduce:
1. Open the attached project 'AddressablesBug.zip'
2. In Menu bar go to Window > Asset Management > Addressables > Groups
3. In Addressables Groups window, build Addressables (select Build > New Build > Default Build Script)
4. In Addressables Groups window, go to Tools > Window > Hosting Services and enable 'Local Hosting' service
5. Open 'UpdateCatalogBug' Scene and enter Play mode

Expected results: Console shows no errors
Actual results: Console shows 'IOException: Directory not empty' error:
System.IO.FileSystem.RemoveDirectoryInternal (System.IO.DirectoryInfo directory, System.Boolean recursive, System.Boolean throwOnTopLevelDirectoryNotFound) (at <7ebca73e208c4c45a84008b1d95ae704>:0)
System.IO.FileSystem.RemoveDirectory (System.String fullPath, System.Boolean recursive) (at <7ebca73e208c4c45a84008b1d95ae704>:0)
System.IO.Directory.Delete (System.String path) (at <7ebca73e208c4c45a84008b1d95ae704>:0)

Reproducible with: 1.19.4 (2019.4.34f1, 2020.3.25f1), 1.19.14 (2019.4.34f1, 2020.3.25f1, 2021.2.7f1, 2022.1.0b2)
Could not test with: 1.18.19 (2019.4.34f1, 2020.3.25f1, 2021.2.7f1, 2022.1.0b2) (compile errors)

  1. Resolution Note (fix version 1.19.18):

    Fixed issue where IOException occurs when autoCleanBundleCache has value of 'true' in Addressables.UpdateCatalogs.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.