Description

SetGamePaused on EventDestroyed crashes the editor on compile.

Reproduced in 4.7.3 binary and Main (//depot/UE4/Promotable-CL-2496752)

Crash Report:
[Link Removed]

Call Stack:
UE4Editor_Engine! UGameplayStatics::SetGamePaused() gameplaystatics.cpp:143
UE4Editor_Engine! UGameplayStatics::execSetGamePaused() gameplaystatics.h:31
UE4Editor_CoreUObject! UFunction::Invoke() class.cpp:3684
UE4Editor_CoreUObject! UObject::CallFunction() scriptcore.cpp:395
UE4Editor_CoreUObject! UObject::ProcessContextOpcode() scriptcore.cpp:1451
UE4Editor_CoreUObject! UObject::execLetBool() scriptcore.cpp:1370
UE4Editor_CoreUObject! UObject::ProcessInternal() scriptcore.cpp:602
UE4Editor_CoreUObject! UObject::CallFunction() scriptcore.cpp:516
UE4Editor_CoreUObject! UObject::ProcessInternal() scriptcore.cpp:602
UE4Editor_CoreUObject! UFunction::Invoke() class.cpp:3684
UE4Editor_CoreUObject! UObject::ProcessEvent() scriptcore.cpp:924
UE4Editor_Engine! AActor::ProcessEvent() actor.cpp:529
UE4Editor_Engine! AActor::Destroyed() actor.cpp:1616
UE4Editor_Engine! UWorld::DestroyActor() levelactor.cpp:452
UE4Editor_Engine! UWorld::EditorDestroyActor() levelactor.cpp:375
UE4Editor_Kismet! FBlueprintEditor::DestroyPreview() blueprinteditor.cpp:7296
UE4Editor_Kismet! FBlueprintEditor::OnBlueprintChangedImpl() blueprinteditor.cpp:2916
UE4Editor_Kismet! TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,TTypeWrapper<void> __cdecl() delegateinstancesimpl_variadics.inl:282
UE4Editor_Kismet! TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,void __cdecl() delegateinstancesimpl_variadics.inl:388
UE4Editor_Engine! TBaseMulticastDelegate<void,UBlueprint * __ptr64>::Broadcast() delegatesignatureimpl_variadics.inl:1030
UE4Editor_UnrealEd! FKismetEditorUtilities::CompileBlueprint() kismet2.cpp:795
UE4Editor_Kismet! FBlueprintEditor::Compile() blueprinteditor.cpp:2990
UE4Editor_Kismet! TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,TTypeWrapper<void> __cdecl() delegateinstancesimpl_variadics.inl:282
UE4Editor_Kismet! TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,void __cdecl() delegateinstancesimpl_variadics.inl:388
UE4Editor_Slate! FUICommandList::ExecuteAction() uicommandlist.cpp:73
UE4Editor_Slate! SToolBarButtonBlock::OnClicked() stoolbarbuttonblock.cpp:296
UE4Editor_Slate! TMemberFunctionCaller<SToolBarButtonBlock,FReply() delegateinstanceinterface_variadics.h:161
UE4Editor_Slate! TTupleImpl<TIntegerSequence<> >::ApplyAfter_ExplicitReturnType<FReply,TMemberFunctionCaller<SToolBarButtonBlock,FReply() tuple.h:113
UE4Editor_Slate! TBaseSPMethodDelegateInstance<0,SToolBarButtonBlock,0,FReply __cdecl() delegateinstancesimpl_variadics.inl:282
UE4Editor_Slate! TBaseDelegate<FReply>::Execute() delegatesignatureimpl_variadics.inl:439
UE4Editor_Slate! SButton::OnMouseButtonUp() sbutton.cpp:228
UE4Editor_Slate! <lambda_de96dc3471181973108233c6db1f9843>::operator() slateapplication.cpp:3985
UE4Editor_Slate! FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_de96dc3471181973108233c6db1f9843> >() slateapplication.cpp:202
UE4Editor_Slate! FSlateApplication::ProcessMouseButtonUpEvent() slateapplication.cpp:3988
UE4Editor_Slate! FSlateApplication::OnMouseUp() slateapplication.cpp:3949
UE4Editor_Core! FWindowsApplication::ProcessDeferredMessage() windowsapplication.cpp:1373
UE4Editor_Core! FWindowsApplication::DeferMessage() windowsapplication.cpp:1669
UE4Editor_Core! FWindowsApplication::ProcessMessage() windowsapplication.cpp:742
UE4Editor_Core! FWindowsApplication::AppWndProc() windowsapplication.cpp:604
user32! UserCallWinProcCheckWow()
user32! DispatchMessageWorker()
UE4Editor_Core! FWindowsPlatformMisc::PumpMessages() windowsplatformmisc.cpp:774
UE4Editor! FEngineLoop::Tick() launchengineloop.cpp:2233
UE4Editor! GuardedMain() launch.cpp:142
UE4Editor! GuardedMainWrapper() launchwindows.cpp:126
UE4Editor! WinMain() launchwindows.cpp:202

Steps to Reproduce

1. Open any project
2. Create a new Actor Blueprint
3. Event Destroyed > Set Game Paused
4. Compile

Result:
Crash

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.7.34.8
Target Fix4.8
Fix Commit2505586
CreatedApr 1, 2015
ResolvedApr 8, 2015
UpdatedApr 27, 2018