Description

This Jira was created from CrashReports submitted by the public due to the high number of occurrences. Descriptions from users are provided below.

Error message:

Assertion failed: EditorWorld == GWorld [Link Removed] [Line: 595]

Source Context:

  580       if(It->PlayerController)
  581       {
  582       if(It->PlayerController->GetPawn())
  583       {
  584       PlayWorld->DestroyActor(It->PlayerController->GetPawn(), true);
  585       }
  586       PlayWorld->DestroyActor(It->PlayerController, true);
  587       It->PlayerController = NULL;
  588       }
  589       }
  590       
  591       }
  592       
  593       // Change GWorld to be the play in editor world during cleanup.
  594 ***** check( EditorWorld == GWorld );
  595       GWorld = PlayWorld;
  596       GIsPlayInEditorWorld = true;
  597       
  598       // Remember Simulating flag so that we know if OnSimulateSessionFinished is required after everything has been cleaned up. 
  599       bool bWasSimulatingInEditor = bIsSimulatingInEditor;
  600       // Clear Simulating In Editor bit
  601       bIsSimulatingInEditor = false;
  602       
  603       
  604       // Stop all audio and remove references to temp level.
  605       if (FAudioDevice* AudioDevice = PlayWorld->GetAudioDevice())
  606       {
  607       AudioDevice->Flush(PlayWorld);
  608       AudioDevice->ResetInterpolation();
  609       AudioDevice->OnEndPIE(false); // TODO: Should this have been bWasSimulatingInEditor?

Most recent user affected CL: 3095848

Logs:
[Link Removed]
[Link Removed]
[Link Removed]

Steps to Reproduce

Repro steps unknown

Callstack
UE4Editor_UnrealEd!UEditorEngine::TeardownPlaySession() [playlevel.cpp:595]
UE4Editor_UnrealEd!UEditorEngine::EndPlayMap() [playlevel.cpp:270]
UE4Editor_UnrealEd!FInternalPlayWorldCommandCallbacks::PlayInVR_Clicked() [debuggercommands.cpp:1422]
UE4Editor_UnrealEd!TBaseStaticDelegateInstance<void __cdecl() [delegateinstancesimpl.h:1017]
UE4Editor_Slate!FUICommandList::ExecuteAction() [uicommandlist.cpp:92]
UE4Editor_UnrealEd!FInternalPlayWorldCommandCallbacks::RepeatLastPlay_Clicked() [debuggercommands.cpp:1248]
UE4Editor_UnrealEd!TBaseStaticDelegateInstance<void __cdecl() [delegateinstancesimpl.h:1017]
UE4Editor_Slate!FUICommandList::ConditionalProcessCommandBindings() [uicommandlist.cpp:211]
UE4Editor_Slate!FUICommandList::ProcessCommandBindings() [uicommandlist.cpp:166]
UE4Editor_UnrealEd!UEditorEngine::ProcessDebuggerCommands() [playlevel.cpp:875]
UE4Editor_UnrealEd!TBaseUObjectMethodDelegateInstance<0,UEditorEngine,bool __cdecl() [delegateinstancesimpl.h:756]
UE4Editor_Engine!UGameViewportClient::InputKey() [gameviewportclient.cpp:381]
UE4Editor_Engine!FSceneViewport::OnKeyUp() [sceneviewport.cpp:849]
UE4Editor_Slate!SViewport::OnKeyUp() [sviewport.cpp:226]
UE4Editor_Slate!<lambda_6edabb7999d104566d200ed4979fb141>::operator() [slateapplication.cpp:4572]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FKeyEvent,<lambda_6edabb7999d104566d200ed4979fb141> >() [slateapplication.cpp:215]
UE4Editor_Slate!FEventRouter::RouteAlongFocusPath<FEventRouter::FBubblePolicy,<lambda_6edabb7999d104566d200ed4979fb141>,FKeyEvent>() [slateapplication.cpp:197]
UE4Editor_Slate!FSlateApplication::ProcessKeyUpEvent() [slateapplication.cpp:4570]
UE4Editor_Slate!FSlateApplication::OnKeyUp() [slateapplication.cpp:4541]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1499]
UE4Editor_Core!FWindowsApplication::DeferMessage() [windowsapplication.cpp:1930]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:747]
UE4Editor_Core!FWindowsApplication::AppWndProc() [windowsapplication.cpp:669]
user32!<Unknown>
user32!<Unknown>
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [windowsplatformmisc.cpp:905]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:2788]
UE4Editor!GuardedMain() [launch.cpp:156]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:126]
UE4Editor!WinMain() [launchwindows.cpp:202]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:264]
kernel32!<Unknown>
ntdll!<Unknown>

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentTools
Affects Versions4.13
Target Fix4.14
Fix Commit3107830
Main Commit3133983
Release Commit3159180
CreatedAug 30, 2016
ResolvedAug 31, 2016
UpdatedApr 27, 2018