# CachedAssetRegistryDiscovery.bin rename failure when multiple volumes hit PlatformFileJournal wrap 

**URL:** <https://forums.unrealengine.com/t/cachedassetregistrydiscovery-bin-rename-failure-when-multiple-volumes-hit-platformfilejournal-wrap/2720287>\
**Category:** Pipeline & Plugins\
**Tags:** Epic-Pro-Support, unreal-engine, question\
**Created:** [March 16, 2026, 11:33am UTC](https://forums.unrealengine.com/t/cachedassetregistrydiscovery-bin-rename-failure-when-multiple-volumes-hit-platformfilejournal-wrap/2720287 "2026-03-16T11:33:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [March 16, 2026, 11:33am UTC](https://forums.unrealengine.com/t/cachedassetregistrydiscovery-bin-rename-failure-when-multiple-volumes-hit-platformfilejournal-wrap/2720287/1 "2026-03-16T11:33:38Z")

</div>

I hit this during cook. When the Platform File Journal is invalidated/wrapped, FAssetDataDiscoveryCache::LoadAndUpdateCache() attempts to rename the discovery cache file `Intermediate/CachedAssetRegistryDiscovery.bin`. If the journal wraps _on more than one volume_, the first rename moves the file successfully, but the second rename (and further) fails with ERROR\_FILE\_NOT\_FOUND because the source file has already been moved. This will produce an error and make cook fail.

The issue shows in the logs as:

- multiple “LogAssetRegistry: Display: PlatformFileJournal journal has wrapped for volume ‘X:’.” (where X is each volume’s letter)
- LogInit: Display: LogFileManager: Error: Error moving file ‘\<project\_path\>/Intermediate/CachedAssetRegistryDiscovery.bin’ to ‘\<project-path\>/Intermediate/CachedAssetRegistryDiscovery-YYYY.MM.DD-HH.MM.SS.bin’.

It should be easy to prevent this by ensuring that the file is only renamed once.

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![Matt.Peters](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Matt.Peters](https://forums.unrealengine.com/u/Matt.Peters)\
**Post date:** [March 17, 2026, 1:57pm UTC](https://forums.unrealengine.com/t/cachedassetregistrydiscovery-bin-rename-failure-when-multiple-volumes-hit-platformfilejournal-wrap/2720287/2 "2026-03-17T13:57:18Z")

</div>

Thanks, I will try to repro and apply your suggested fix later this week.

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![Matt.Peters](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Matt.Peters](https://forums.unrealengine.com/u/Matt.Peters)\
**Post date:** [April 6, 2026, 7:18pm UTC](https://forums.unrealengine.com/t/cachedassetregistrydiscovery-bin-rename-failure-when-multiple-volumes-hit-platformfilejournal-wrap/2720287/3 "2026-04-06T19:18:22Z")

</div>

Fix submitted in CL 52149465, aka github commit [06b54058d72736e338844358d4b6f3b7c15c0d9a](https://github.com/EpicGames/UnrealEngine/commit/06b54058d72736e338844358d4b6f3b7c15c0d9a).

"AssetRegistry: DiscoveryCache: Fix spurious error when attempting to save old cache file for diagnostics. It would be triggered twice in one read attempt if the USN journal wrapped on two drives used by the project. and the second attempt would fail "

[Attachment Removed]
