This problem is caused by the AccessLogWriter has not been flushed at the termination.
The following workaround flushes the Writer.
class FFileSystemDerivedDataBackend : public FDerivedDataBackendInterface { ... FFileSystemDerivedDataBackend(const TCHAR* InCacheDirectory, const TCHAR* InParams, const TCHAR* InAccessLogFileName) : CachePath(InCacheDirectory) , SpeedClass(ESpeedClass::Unknown) , bReadOnly(false) , bTouch(false) , bPurgeTransient(false) , DaysToDeleteUnusedFiles(15) , bDisabled(false) , TotalEstimatedBuildTime(0) { ... if (IsUsable() && InAccessLogFileName != nullptr && *InAccessLogFileName != 0) { AccessLogWriter.Reset(new FAccessLogWriter(InAccessLogFileName)); FCoreDelegates::OnExit.AddRaw(this, &FFileSystemDerivedDataBackend::Shutdown); // workaround } } } //workaround begins void Shutdown() { // UE_LOG(LogTemp, Warning, TEXT("FFileSystemDerivedDataBackend::Shutdown") ); AccessLogWriter.Reset(nullptr); } //workaround ends
[EnumerateForS3DDC] MinimumDaysToKeepFile=7 Root=(Type=KeyLength, Length=120, Inner=AsyncPut) AsyncPut=(Type=AsyncPut, Inner=Hierarchy) Hierarchy=(Type=Hierarchical, Inner=Shared) Shared=(Type=FileSystem, ReadOnly=false, Clean=false, Flush=false, DeleteUnused=true, UnusedFileAge=5, FoldersToClean=10, MaxFileChecksPerSec=1, Path=F:\dev\sharedddc, EnvPathOverride=UE-SharedDataCachePath, WriteAccessLog="%GAMEDIR%Saved/Logs/DDCAccessLog.txt")
This is an example of its output. The halfway line is at the end.
... 5/0/1/ANIMSEQ_D8E26604610C43A4A2DCB8A690657705_0_E86C19E4F5484BB57AF1A871A6D5AB9460E__3F6311423AC1251F647B71CA9A114B69366A4514.udd 3/2/9/ANIMSEQ_D8E26604610C43A4A2DCB8A690657705_0_C14C3B98EEF7A73BA89CA17CE28931A460E__FCBCF82321C6868708B183EE235A8F8EAE1DF811.udd 7/7/9/TEXTURE_2D528FAD496A42E180956107C6FFBD67_BGRA8_9E839E0E4933277AAB67FB869C14F9A__D9794B59901D592EC2E38578B3DB363086D77D5F.udd 2/2/5/TEXTURE_2D528FAD496A42E180956107C6FFBD67_BGRA8_748D4F054C3030AC8888BEA1993C93A__216FF8DE42F5B64CC0A5B848F5C5CCD72236F045.udd 9/6/3/TEXTURE_2D528FAD496A42E180956107C6FFBD67_BGRA8_748D4F054C3030AC8888BEA1993C93A__4AF0321350901D5DA6F672EB1ACD96C859C2CA70.udd 4/1/7/TEXTURE_2D528FAD496A42E180956107C6FFBD67_BGRA8_748D4F054C3030AC8888BEA1993C93A__980C44EFA3E05F3105F9965AB5C833C7A06A268D.udd 8/0/7/TEXTUR
Why does the REMOVE method of map container remove elements have memory leaks?
How does TextureRenderTarget2D get TArray<uint8> type data?
How do I set a material as a post-processing material?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
What is the difference between Camera and CineCamera?
How does TArray loop correctly remove elements in blueprints?
What controls of umg have mouse wheel events in UE4.27?
How to implement springarm components to scale according to mouse position in spawn?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-116166 in the post.
0 |
Component | UE - Foundation - Core - Derived Data |
---|---|
Affects Versions | 4.26 |
Target Fix | 5.0 |
Created | May 20, 2021 |
---|---|
Resolved | Feb 23, 2022 |
Updated | Jan 26, 2023 |