Description

A user has reported a problem where the directory that is output from FindAllPakFiles is not compatible with the StreamableManager::RequestAsyncLoad function and will cause a crash if using the two in tandem is attempted.

A workaround the user has proposed is to remove the ../.. at the beginning of the path before using it for StreamableManager::RequestAsyncLoad

Steps to Reproduce
  1. Download the attached project
  2. Generate project files for the project and then build the project for Development Editor
  3. Open the project and load the "Untitled" level
  4. Press Play for PIE
    Result: Editor crashes attempting to call StreamableManager::RequestAsyncLoad with the output from FindAllPakFiles.
    Expected: The formats should be compatible and the crash should not occur
Callstack
Access violation - code c0000005 (first/second chance not available)

UE4Editor_MyProject!FAssetStreamer::StreamPackage() [c:\users\matthew.clark\documents\unreal projects\4.11 preview\myproject\source\myproject\assetstreamer.cpp:70]
UE4Editor_MyProject!AImportPakFile::RunLoad() [c:\users\matthew.clark\documents\unreal projects\4.11 preview\myproject\source\myproject\importpakfile.cpp:50]
UE4Editor_CoreUObject!UFunction::Invoke() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\coreuobject\private\uobject\class.cpp:4482]
UE4Editor_CoreUObject!UObject::CallFunction() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:562]
UE4Editor_CoreUObject!UObject::ProcessInternal() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:781]
UE4Editor_CoreUObject!UFunction::Invoke() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\coreuobject\private\uobject\class.cpp:4482]
UE4Editor_CoreUObject!UObject::ProcessEvent() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1150]
UE4Editor_Engine!AActor::ProcessEvent() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\actor.cpp:631]
UE4Editor_Engine!AActor::BeginPlay() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\actor.cpp:2927]
UE4Editor_MyProject!AImportPakFile::BeginPlay() [c:\users\matthew.clark\documents\unreal projects\4.11 preview\myproject\source\myproject\importpakfile.cpp:20]
UE4Editor_Engine!AWorldSettings::NotifyBeginPlay() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\worldsettings.cpp:148]
UE4Editor_Engine!AGameMode::HandleMatchHasStarted() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\gamemode.cpp:623]
UE4Editor_Engine!AGameMode::SetMatchState() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\gamemode.cpp:739]
UE4Editor_Engine!AGameMode::StartMatch() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\gamemode.cpp:600]
UE4Editor_Engine!UWorld::BeginPlay() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\world.cpp:3159]
UE4Editor_Engine!UGameInstance::StartPIEGameInstance() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\gameinstance.cpp:285]
UE4Editor_UnrealEd!UEditorEngine::CreatePIEGameInstance() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\unrealed\private\playlevel.cpp:3078]
UE4Editor_UnrealEd!UEditorEngine::PlayInEditor() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\unrealed\private\playlevel.cpp:2326]
UE4Editor_UnrealEd!UEditorEngine::StartQueuedPlayMapRequest() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\unrealed\private\playlevel.cpp:1101]
UE4Editor_UnrealEd!UEditorEngine::Tick() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\unrealed\private\editorengine.cpp:1251]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\unrealed\private\unrealedengine.cpp:370]
UE4Editor!FEngineLoop::Tick() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\launch\private\launchengineloop.cpp:2644]
UE4Editor!GuardedMain() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\launch\private\launch.cpp:142]
UE4Editor!GuardedMainWrapper() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264]
kernel32
ntdll

Have Comments or More Details?

Head over to the existingAnswerHub thread and let us know what's up.

1
Login to Vote

Fixed
ComponentCore
Affects Versions4.104.114.124.13
Target Fix4.13
Fix Commit2954496
Main Commit2959226
CreatedApr 22, 2016
ResolvedApr 25, 2016
UpdatedFeb 5, 2017