Description

Right clicking inside the event graph of a blueprint that is derived from PhysicsCollisionHandler will crash the editor

CrashReporter:
[Link Removed]

Steps to Reproduce

1. Open UE4 Editor (Any project)
2. Create blueprint based on UPhysicsCollisionHandler
3. Open the blueprint event graph.
4. Right-click in the event graph.

Result:
Editor crashes immediately

Callstack
MachineId:9FA88CA44B7C623122B0039D6C8BA1B0

Unknown exception - code 00000001 (first/second chance not available)

"Fatal error: [File:D:\Builds\Main\UE4\Engine\Source\Runtime\CoreUObject\Private\Templates\Casts.cpp] [Line: 11] 
Cast of Package //Script//Engine to World failed
"

KERNELBASE
UE4Editor_Core!FOutputDeviceWindowsError::Serialize() [d:\builds\main\ue4\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:95]
UE4Editor_Core!FOutputDevice::Logf__VA() [d:\builds\main\ue4\engine\source\runtime\core\private\misc\outputdevice.cpp:144]
UE4Editor_Core!FDebug::AssertFailed() [d:\builds\main\ue4\engine\source\runtime\core\private\misc\outputdevice.cpp:360]
UE4Editor_CoreUObject!CastLogError() [d:\builds\main\ue4\engine\source\runtime\coreuobject\private\templates\casts.cpp:12]
UE4Editor_Engine!CastChecked<UWorld,UObject>() [d:\builds\main\ue4\engine\source\runtime\coreuobject\public\templates\casts.h:191]
UE4Editor_CoreUObject!UObject::ImplementsGetWorld() [d:\builds\main\ue4\engine\source\runtime\coreuobject\private\uobject\obj.cpp:607]
UE4Editor_BlueprintGraph!UEdGraphSchema_K2::CanFunctionBeUsedInGraph() [d:\builds\main\ue4\engine\source\editor\blueprintgraph\private\edgraphschema_k2.cpp:639]
UE4Editor_BlueprintGraph!UK2Node_CallFunction::CanPasteHere() [d:\builds\main\ue4\engine\source\editor\blueprintgraph\private\k2node_callfunction.cpp:1058]
UE4Editor_BlueprintGraph!UK2Node_CallFunction::IsActionFilteredOut() [d:\builds\main\ue4\engine\source\editor\blueprintgraph\private\k2node_callfunction.cpp:1069]
UE4Editor_BlueprintGraph!BlueprintActionFilterImpl::IsNodeTemplateSelfFiltered() [d:\builds\main\ue4\engine\source\editor\blueprintgraph\private\blueprintactionfilter.cpp:1318]
UE4Editor_BlueprintGraph!FBlueprintActionFilter::IsFilteredByThis() [d:\builds\main\ue4\engine\source\editor\blueprintgraph\private\blueprintactionfilter.cpp:1719]
UE4Editor_BlueprintGraph!FBlueprintActionFilter::IsFiltered() [d:\builds\main\ue4\engine\source\editor\blueprintgraph\private\blueprintactionfilter.cpp:1668]
UE4Editor_Kismet!FBlueprintActionMenuBuilderImpl::FMenuSectionDefinition::MakeMenuItems() [d:\builds\main\ue4\engine\source\editor\kismet\private\blueprintactionmenubuilder.cpp:371]
UE4Editor_Kismet!FBlueprintActionMenuBuilder::RebuildActionList() [d:\builds\main\ue4\engine\source\editor\kismet\private\blueprintactionmenubuilder.cpp:558]
UE4Editor_Kismet!FBlueprintActionMenuUtils::MakeContextMenu() [d:\builds\main\ue4\engine\source\editor\kismet\private\blueprintactionmenuutils.cpp:671]
UE4Editor_Kismet!SBlueprintActionMenu::CollectAllActions() [d:\builds\main\ue4\engine\source\editor\kismet\private\sblueprintactionmenu.cpp:445]
UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,SBlueprintActionMenu,0,TTypeWrapper<void> __cdecl(FGraphActionListBuilderBase & __ptr64)>::Execute() [d:\builds\main\ue4\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:282]
UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,SBlueprintActionMenu,0,void __cdecl(FGraphActionListBuilderBase & __ptr64)>::ExecuteIfSafe() [d:\builds\main\ue4\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:388]
UE4Editor_GraphEditor!SGraphActionMenu::RefreshAllActions() [d:\builds\main\ue4\engine\source\editor\grapheditor\private\sgraphactionmenu.cpp:329]
UE4Editor_GraphEditor!SGraphActionMenu::Construct() [d:\builds\main\ue4\engine\source\editor\grapheditor\private\sgraphactionmenu.cpp:319]
UE4Editor_Kismet!TDecl<SGraphActionMenu,RequiredArgs::T0RequiredArgs>::operator<<=() [d:\builds\main\ue4\engine\source\runtime\slatecore\public\widgets\declarativesyntaxsupport.h:1323]
UE4Editor_Kismet!SBlueprintActionMenu::Construct() [d:\builds\main\ue4\engine\source\editor\kismet\private\sblueprintactionmenu.cpp:340]
UE4Editor_Kismet!TDecl<SBlueprintActionMenu,RequiredArgs::T1RequiredArgs<TSharedRef<FBlueprintEditor,0> && __ptr64> >::operator<<=() [d:\builds\main\ue4\engine\source\runtime\slatecore\public\widgets\declarativesyntaxsupport.h:1323]
UE4Editor_Kismet!FBlueprintEditor::OnCreateGraphActionMenu() [d:\builds\main\ue4\engine\source\editor\kismet\private\blueprinteditor.cpp:2902]
UE4Editor_Kismet!TMemberFunctionCaller<FBlueprintEditor,FActionMenuContent (__cdecl FBlueprintEditor::*)(UEdGraph * __ptr64,FVector2D const & __ptr64,TArray<UEdGraphPin * __ptr64,FDefaultAllocator> const & __ptr64,bool,TBaseDelegate<void>) __ptr64>::operator() [d:\builds\main\ue4\engine\source\runtime\core\public\delegates\delegateinstanceinterface_variadics.h:161]
UE4Editor_Kismet!TTupleImpl<TIntegerSequence<> >::ApplyAfter_ExplicitReturnType<FActionMenuContent,TMemberFunctionCaller<FBlueprintEditor,FActionMenuContent (__cdecl FBlueprintEditor::*)(UEdGraph * __ptr64,FVector2D const & __ptr64,TArray<UEdGraphPin * __ptr() [d:\builds\main\ue4\engine\source\runtime\core\public\delegates\tuple.h:113]
UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,FActionMenuContent __cdecl(UEdGraph * __ptr64,FVector2D const & __ptr64,TArray<UEdGraphPin * __ptr64,FDefaultAllocator> const & __ptr64,bool,TBaseDelegate<void>)>::Execute() [d:\builds\main\ue4\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:282]
UE4Editor_GraphEditor!TBaseDelegate<FActionMenuContent,UEdGraph * __ptr64,FVector2D const & __ptr64,TArray<UEdGraphPin * __ptr64,FDefaultAllocator> const & __ptr64,bool,TBaseDelegate<void> >::Execute() [d:\builds\main\ue4\engine\source\runtime\core\public\delegates\delegatesignatureimpl_variadics.inl:440]
UE4Editor_GraphEditor!SGraphEditorImpl::GraphEd_OnGetContextMenuFor() [d:\builds\main\ue4\engine\source\editor\grapheditor\private\sgrapheditorimpl.cpp:466]
UE4Editor_GraphEditor!TMemberFunctionCaller<SGraphEditorImpl,FActionMenuContent (__cdecl SGraphEditorImpl::*)(FGraphContextMenuArguments const & __ptr64) __ptr64>::operator()<FGraphContextMenuArguments const & __ptr64>() [d:\builds\main\ue4\engine\source\runtime\core\public\delegates\delegateinstanceinterface_variadics.h:161]
UE4Editor_GraphEditor!TTupleImpl<TIntegerSequence<> >::ApplyAfter_ExplicitReturnType<FActionMenuContent,TMemberFunctionCaller<SGraphEditorImpl,FActionMenuContent (__cdecl SGraphEditorImpl::*)(FGraphContextMenuArguments const & __ptr64) __ptr64>,FGraphContext() [d:\builds\main\ue4\engine\source\runtime\core\public\delegates\tuple.h:113]
UE4Editor_GraphEditor!TBaseSPMethodDelegateInstance<0,SGraphEditorImpl,0,FActionMenuContent __cdecl(FGraphContextMenuArguments const & __ptr64)>::Execute() [d:\builds\main\ue4\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:282]
UE4Editor_GraphEditor!TBaseDelegate<FActionMenuContent,FGraphContextMenuArguments const & __ptr64>::Execute() [d:\builds\main\ue4\engine\source\runtime\core\public\delegates\delegatesignatureimpl_variadics.inl:440]
UE4Editor_GraphEditor!SGraphPanel::SummonContextMenu() [d:\builds\main\ue4\engine\source\editor\grapheditor\private\sgraphpanel.cpp:1045]
UE4Editor_GraphEditor!SGraphPanel::OnSummonContextMenu() [d:\builds\main\ue4\engine\source\editor\grapheditor\private\sgraphpanel.cpp:775]
UE4Editor_GraphEditor!SNodePanel::OnMouseButtonUp() [d:\builds\main\ue4\engine\source\editor\grapheditor\private\snodepanel.cpp:824]
UE4Editor_GraphEditor!SGraphPanel::OnMouseButtonUp() [d:\builds\main\ue4\engine\source\editor\grapheditor\private\sgraphpanel.cpp:666]
UE4Editor_Slate!<lambda_de96dc3471181973108233c6db1f9843>::operator()() [d:\builds\main\ue4\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4151]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_de96dc3471181973108233c6db1f9843> >() [d:\builds\main\ue4\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:210]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [d:\builds\main\ue4\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4154]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [d:\builds\main\ue4\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4114]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [d:\builds\main\ue4\engine\source\runtime\core\private\windows\windowsapplication.cpp:1418]
UE4Editor_Core!FWindowsApplication::DeferMessage() [d:\builds\main\ue4\engine\source\runtime\core\private\windows\windowsapplication.cpp:1711]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [d:\builds\main\ue4\engine\source\runtime\core\private\windows\windowsapplication.cpp:706]
UE4Editor_Core!FWindowsApplication::AppWndProc() [d:\builds\main\ue4\engine\source\runtime\core\private\windows\windowsapplication.cpp:628]
user32
user32
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [d:\builds\main\ue4\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:790]
UE4Editor!FEngineLoop::Tick() [d:\builds\main\ue4\engine\source\runtime\launch\private\launchengineloop.cpp:2300]
UE4Editor!GuardedMain() [d:\builds\main\ue4\engine\source\runtime\launch\private\launch.cpp:142]
UE4Editor!GuardedMainWrapper() [d:\builds\main\ue4\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\builds\main\ue4\engine\source\runtime\launch\private\windows\launchwindows.cpp:249]

Have Comments or More Details?

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

2
Login to Vote

Cannot Reproduce
ComponentUE - Gameplay - Blueprint
Affects Versions4.7.64.8
Target Fix4.8
Fix Commit2527110
Release Commit2533278
CreatedApr 22, 2015
ResolvedMay 5, 2015
UpdatedApr 27, 2018
View Jira Issue