# \[Crash\]\[5.8.0\] Use-after-free in FStreamableManager::StartHandleRequests when batch RequestAsyncLoad contains already-resident assets 

**URL:** <https://forums.unrealengine.com/t/crash-5-8-0-use-after-free-in-fstreamablemanager-starthandlerequests-when-batch-requestasyncload-contains-already-resident-assets/2734148>\
**Category:** Issues and Bug Reporting (Unreal Engine)\
**Tags:** unreal-engine, crash, CPP\
**Created:** [July 7, 2026, 2:48pm UTC](https://forums.unrealengine.com/t/crash-5-8-0-use-after-free-in-fstreamablemanager-starthandlerequests-when-batch-requestasyncload-contains-already-resident-assets/2734148 "2026-07-07T14:48:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ztl1111](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ztl1111](https://forums.unrealengine.com/u/ztl1111)\
**Post date:** [July 7, 2026, 2:48pm UTC](https://forums.unrealengine.com/t/crash-5-8-0-use-after-free-in-fstreamablemanager-starthandlerequests-when-batch-requestasyncload-contains-already-resident-assets/2734148/1 "2026-07-07T14:48:58Z")

</div>

### Summary

FStreamableManager::StartHandleRequests caches raw FStreamable\* pointers in a local array, then iterates them in a second loop whose CheckCompletedRequests calls can complete the whole handle synchronously (when all targets are already in memory) and free FStreamable entries mid-loop. Line 2192 then reads, and line 2194 writes, through a stale pointer. Under the default allocator this silently corrupts the heap and manifests later as seemingly random crashes in unrelated subsystems (Slate paint, AssetRegistry, PropertyEditor, allocator internals) — we chased those for a full day before -stompmalloc pinpointed the real site.

### What Type of Bug are you experiencing?

Foundation (C++ Tools, Profiling, & Pipeline)

### Steps to Reproduce

1. In a C++ project, add a UWorldSubsystem override of OnWorldBeginPlay that batch-preloads assets:  
`PreloadHandle = UAssetManager::GetStreamableManager().RequestAsyncLoad(Paths, FStreamableDelegate(), FStreamableManager::DefaultAsyncLoadPriority, /*bManageActiveHandle=*/false);`  
where `Paths` is a `TArray<FSoftObjectPath>` of ~150 content assets (animation montages / data assets), and `PreloadHandle` is a `TSharedPtr<FStreamableHandle>` member of the subsystem.
2. Launch the editor with -stompmalloc (to catch the access violation deterministically at the faulting site rather than as delayed heap corruption).
3. Enter PIE once (cold load - all targets not yet in memory). This works.
4. Exit PIE, then enter PIE again in the same editor session, so that all requested targets are already resident.

### Expected Result

RequestAsyncLoad with already-resident targets should complete the handle immediately (as documented by the in-code comment “this may call the callback right away”) without any invalid memory access. No crash, no heap corruption.

### Observed Result

On the second PIE run of the same editor session, the editor crashes with an access violation inside FStreamableManager::StartHandleRequests (StreamableManager.cpp:2192), reading a freed FStreamable. Full callstack in the callstack field below. Without -stompmalloc the same defect does not crash at the call site but silently corrupts the heap, causing delayed crashes in unrelated subsystems.

### Affects Versions

5.8

### Platform(s)

Windows

### For crash reports, include your callstack

Unhandled Exception: EXCEPTION\_ACCESS\_VIOLATION reading address 0x000002c28b951fd0

UnrealEditor\_Engine!FStreamableManager::StartHandleRequests() [D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\StreamableManager.cpp:2192]  
UnrealEditor\_Engine!FStreamableManager::RequestAsyncLoad() [D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\StreamableManager.cpp:2116]  
UnrealEditor\_MyGame!FStreamableManager::RequestAsyncLoad\<TArray\<FSoftObjectPath,TSizedDefaultAllocator\<32\> \> &,TDelegate\<void \_\_cdecl(void),FDefaultDelegateUserPolicy\>,void\>() [Engine\Source\Runtime\Engine\Classes\Engine\StreamableManager.h:1045]  
UnrealEditor\_MyGame!UMyPreloadSubsystem::OnWorldBeginPlay() [MyGame\Source\MyGame\MyPreloadSubsystem.cpp:54]  
UnrealEditor\_Engine!UE::Core::Private::Function::TFunctionRefCaller\<`UWorld::BeginPlay'::`2’::\<lambda\_1\>,void,UWorldSubsystem \*\>::Call() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Templates\Function.h:292]  
UnrealEditor\_Engine!UE::Core::Private::Function::TFunctionRefCaller\<`FObjectSubsystemCollection<UWorldSubsystem>::ForEachSubsystem'::`2’::\<lambda\_1\>,void,USubsystem \*\>::Call() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Templates\Function.h:298]  
UnrealEditor\_Engine!FSubsystemCollectionBase::ForEachSubsystemOfClass() [D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\Subsystems\SubsystemCollection.cpp:178]  
UnrealEditor\_Engine!UWorld::BeginPlay() [D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\World.cpp:6171]  
UnrealEditor\_Engine!UGameInstance::StartPlayInEditorGameInstance() [D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\GameInstance.cpp:568]  
UnrealEditor\_UnrealEd!UEditorEngine::CreateInnerProcessPIEGameInstance() [D:\build++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:3200]  
UnrealEditor\_UnrealEd!UEditorEngine::OnLoginPIEComplete\_Deferred() [D:\build++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:1623]  
UnrealEditor\_UnrealEd!UEditorEngine::CreateNewPlayInEditorInstance() [D:\build++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:1886]  
UnrealEditor\_UnrealEd!UEditorEngine::StartPlayInEditorSession() [D:\build++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:2928]  
UnrealEditor\_UnrealEd!UEditorEngine::StartQueuedPlaySessionRequestImpl() [D:\build++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:1210]  
UnrealEditor\_UnrealEd!UEditorEngine::StartQueuedPlaySessionRequest() [D:\build++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:1111]  
UnrealEditor\_UnrealEd!UEditorEngine::Tick() [D:\build++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:2065]  
UnrealEditor\_UnrealEd!UUnrealEdEngine::Tick() [D:\build++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\UnrealEdEngine.cpp:546]  
UnrealEditor!FEngineLoop::Tick() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5859]  
UnrealEditor!GuardedMain() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:190]  
UnrealEditor!GuardedMainWrapper() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:123]  
UnrealEditor!LaunchWindowsStartup() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:277]  
UnrealEditor!WinMain() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:338]  
UnrealEditor!\_\_scrt\_common\_main\_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe\_common.inl:288]  
kernel32  
ntdll

### Additional Notes

Analysis: the first loop in StartHandleRequests (StreamableManager.cpp:2176-2183) collects raw FStreamable\* pointers into a local ExistingStreamables array. The second loop (:2188-2198) dereferences them, but its CheckCompletedRequests calls can synchronously complete the whole handle (all targets already resident) and free FStreamable entries belonging to later indices of the same array. :2192 then reads the freed struct and :2194 writes to it.

Impact without -stompmalloc: silent heap corruption. In our project this produced a full day of seemingly unrelated “random” editor crashes (Slate paint, AssetRegistry, PropertyEditor detail panels, mimalloc internals) before the real site was identified with the stomp allocator - so the severity is much higher than the crash frequency at this callstack suggests.

Related: the same code pattern exists in 5.7. The June 2026 ALT-safety changes to this file (e.g. “Remove unsafe access of streamablehandle/streamable on the ALT”) address cross-thread access, not this same-thread completion path.

Workaround: before calling RequestAsyncLoad, filter out targets whose FSoftObjectPath::ResolveObject() is non-null (already resident) and skip redirectors; if the remaining list is empty, skip the call entirely. With this filter the crash is no longer reachable.

Minidump and full editor log available on request.
