Description

"Assertion failed: Pair != nullptr " when trying to create a basic test with AEditorFunctionalTest in a WP map.

Steps to Reproduce
Callstack
UnrealEditor-Engine.dll!TMapBase<FGuid,FWorldPartitionActorDescView,FDefaultSetAllocator,TDefaultMapHashableKeyFuncs<FGuid,FWorldPartitionActorDescView,0>>::FindChecked(const FGuid &) Line 656	C++
UnrealEditor-Engine.dll!FWorldPartitionStreamingGenerator::ValidateActorDescriptorViews() Line 217	C++
UnrealEditor-Engine.dll!FWorldPartitionStreamingGenerator::PreparationPhase(const UActorDescContainer * Container) Line 465	C++
UnrealEditor-Engine.dll!UWorldPartition::GenerateStreaming(TArray<FString,TSizedDefaultAllocator<32>> * OutPackagesToGenerate) Line 621	C++
[Inline Frame] UnrealEditor-Engine.dll!UWorldPartition::OnBeginPlay() Line 336	C++
UnrealEditor-Engine.dll!UWorldPartition::OnPreBeginPIE(bool bStartSimulate) Line 325	C++
[Inline Frame] UnrealEditor-Engine.dll!Invoke(void(UWorldPartition::*)(bool)) Line 66	C++
[Inline Frame] UnrealEditor-Engine.dll!UE::Core::Private::Tuple::TTupleBase<TIntegerSequence<unsigned int>>::ApplyAfter(void(UWorldPartition::*)(bool) &) Line 327	C++
UnrealEditor-Engine.dll!TBaseUObjectMethodDelegateInstance<0,UWorldPartition,void __cdecl(bool),FDefaultDelegateUserPolicy>::ExecuteIfSafe(bool <Params_0>) Line 611	C++
UnrealEditor-UnrealEd.dll!TMulticastDelegate<void __cdecl(bool),FDefaultDelegateUserPolicy>::Broadcast(bool <Params_0>) Line 967	C++
UnrealEditor-UnrealEd.dll!UEditorEngine::StartPlayInEditorSession(FRequestPlaySessionParams & InRequestParams) Line 2543	C++
UnrealEditor-UnrealEd.dll!UEditorEngine::StartQueuedPlaySessionRequestImpl() Line 1172	C++
UnrealEditor-UnrealEd.dll!UEditorEngine::StartQueuedPlaySessionRequest() Line 1075	C++
UnrealEditor-UnrealEd.dll!UEditorEngine::AutomationLoadMap(const FString & MapName, bool bForceReload, FString * OutError) Line 7457	C++
[Inline Frame] UnrealEditor-UnrealEd.dll!Invoke(void(UEditorEngine::*)(const FString &, bool, FString *)) Line 66	C++
[Inline Frame] UnrealEditor-UnrealEd.dll!UE::Core::Private::Tuple::TTupleBase<TIntegerSequence<unsigned int>>::ApplyAfter(void(UEditorEngine::*)(const FString &, bool, FString *) &) Line 327	C++
UnrealEditor-UnrealEd.dll!TBaseUObjectMethodDelegateInstance<0,UEditorEngine,void __cdecl(FString const &,bool,FString *),FDefaultDelegateUserPolicy>::ExecuteIfSafe(const FString & <Params_0>, bool <Params_1>, FString * <Params_2>) Line 611	C++
[Inline Frame] UnrealEditor-Engine.dll!TMulticastDelegate<void __cdecl(FString const &,bool,FString *),FDefaultDelegateUserPolicy>::Broadcast(const FString &) Line 967	C++
UnrealEditor-Engine.dll!AutomationOpenMap(const FString & MapName, bool bForceReload) Line 365	C++
UnrealEditor-FunctionalTesting.dll!FClientFunctionalTestingMapsBase::RunTest(const FString & Parameters) Line 115	C++
UnrealEditor-Core.dll!FAutomationTestFramework::InternalStartTest(const FString & InTestToRun) Line 773	C++
UnrealEditor-Core.dll!FAutomationTestFramework::StartTestByName(const FString & InTestToRun, const int InRoleIndex) Line 386	C++
UnrealEditor-AutomationWorker.dll!FAutomationWorkerModule::HandleRunTestsMessage(const FAutomationWorkerRunTests & Message, const TSharedRef<IMessageContext,1> & Context) Line 587	C++
UnrealEditor-AutomationWorker.dll!TRawMessageHandler<FAutomationWorkerRunTests,FAutomationWorkerModule>::HandleMessage(const TSharedRef<IMessageContext,1> & Context) Line 103	C++
[Inline Frame] UnrealEditor-AutomationWorker.dll!FMessageEndpoint::ProcessMessage(const TSharedRef<IMessageContext,1> &) Line 998	C++
UnrealEditor-AutomationWorker.dll!FMessageEndpoint::ProcessInbox() Line 425	C++
UnrealEditor.exe!FEngineLoop::Tick() Line 5437	C++
[Inline Frame] UnrealEditor.exe!EngineTick() Line 62	C++
UnrealEditor.exe!GuardedMain(const wchar_t * CmdLine) Line 186	C++
UnrealEditor.exe!LaunchWindowsStartup(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * __formal, int nCmdShow, const wchar_t * CmdLine) Line 272	C++
UnrealEditor.exe!WinMain(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * pCmdLine, int nCmdShow) Line 330	C++

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-151424 in the post.

0
Login to Vote

Fixed
Fix Commit20109758
Main Commit20112740
CreatedMay 9, 2022
ResolvedMay 9, 2022
UpdatedMay 16, 2022
View Jira Issue