Search Issue Tracker
Fixed
Fixed in 2021.3.29f1, 2022.3.5f1, 2023.1.5f1, 2023.2.0a23
Votes
0
Found in
2021.3.27f1
2022.3.2f1
2023.1.0b19
2023.2.0a18
Issue ID
UUM-39687
Regression
No
Asset artifact downloaded from Accelerator but the asset still gets reimported
Reproduction steps:
1. Run Accelerator
2. Import the “BugCachedAssetsReimport” project using the following command line: {{"PATH_TO_UNITY" -batchmode -quit -nographics -projectPath "PATH_TO_PROJECT" -logFile "PATH_TO_PROJECT/build.log" -EnableCacheServer -cacheServerEndpoint ACCELERATOR_IP:10080 -cacheServerNamespacePrefix unitysupport -cacheServerWaitForUploadCompletion}}
3. Wait until “Application will terminate with return code 0” is logged in the “build.log” (it takes a few minutes)
4. Backup the “build.log” for a later comparison
5. Delete the project’s Library folder
6. Repeat the 2nd and 3rd steps
7. In the 2nd ”build.log” search for “ondemand” to find reimported assets
Expected result: Assets that have been cached are not reimported
Actual result: Assets that have been cached are reimported (e.g. “d_Shade.png” is reimported even though it was already downloaded from Accelerator)
Reproduced in: 2021.3.27f1, 2022.3.2f1, 2023.1.0b19, 2023.2.0a18
Reproduced using: Windows 11
Could not test using: macOS 13.4 (Intel) (Editor hangs on {{Worker ready: AssetImportWorker1 1}} after the 2nd step)
Example command: {{"C:\Program Files\Unity\Hub\Editor\2022.3.2f1\Editor\Unity.exe" -batchmode -quit -nographics -projectPath "C:\Users\chiur\Downloads\BugCachedAssetsReimport" -logFile "C:\Users\chiur\Downloads\BugCachedAssetsReimport\build.log" -EnableCacheServer -cacheServerEndpoint 192.168.0.93:10080 -cacheServerNamespacePrefix unitysupport -cacheServerWaitForUploadCompletion}}
Example asset reimport logs:
1. An asset is downloaded from the Accelerator:
{noformat}2023-06-01T18:52:26.696Z|0x42f0|Artifact(content hash=8dedec31031f0313c6db40b9597dd2ae) downloaded for 'Packages/com.unity.render-pipelines.core/Editor/Lighting/Icons/LightUnitIcons/d_Shade.png'{noformat}
2. Later the same asset still gets reimported:
{noformat}2023-06-01T18:52:28.748Z|0x42f0|[Worker0] 2023-06-01T18:52:28.748Z|0x0830|Start importing Packages/com.unity.render-pipelines.core/Editor/Lighting/Icons/LightUnitIcons/d_Shade.png using Guid(fbe2a78a665b37a4c9ec6623f42feb59) Importer(-1,00000000000000000000000000000000)
...
2023-06-01T18:52:28.752Z|0x42f0|[Worker0] 2023-06-01T18:52:28.752Z|0x0830| -> (artifact id: '5e6e7e614daedb335e5eb2143096d948') in 0.005046 seconds
...
2023-06-01T18:52:28.757Z|0x42f0|Artifact(artifact id=5e6e7e614daedb335e5eb2143096d948, static dependencies=20726c24558e3d91fdcdc19fbe9a4bdc, content hash=8dedec31031f0313c6db40b9597dd2ae) uploaded to cacheserver{noformat}
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Toolkit Slider value defaults to min value when the initial value is set in the UXML file
- The Player hangs when unloading a scene using the UnloadUnusedAssets() method
- [iOS] Too many texture parameters error is thrown when running on devices that support the number of parameters
- [MacOS] Trying to pick a Colour from full-screen window breaks Colour Picker Tool functionality
- WebGL Player hangs on first frame when "Autoconnect Profiler" is enabled and large amount of Profiler data is buffered before the first frame
Resolution Note (fix version 2023.2.0a23):
Fix: Ensure all Accelerator cache downloads are used when importing using ParallelImport mode.
Resolution Note (fix version 2023.1.5f1):
Ensured all Accelerator cache downloads are used when importing using ParallelImport mode.
Resolution Note (fix version 2022.3.5f1):
Ensured all Accelerator cache downloads are used when importing using ParallelImport mode.