Description

This is a common crash affecting users in 4.16, and has occurred since at least 4.14.

User Descriptions

  • I was copying and pasting a Geometry Box and then the client just crashed.
  • I was trying some stuff out with Planes, Afther a while the engine crashed for me.

Source Context

1657       	bool bCanPaste = false;
 1658       	if (GEditor->GetSelectedComponentCount() > 0)
 1659       	{
 1660       		check(GEditor->GetSelectedActorCount() == 1);
 1661 ***** 		auto SelectedActor = CastChecked<AActor>(*GEditor->GetSelectedActorIterator());
 1662       		bCanPaste = FComponentEditorUtils::CanPasteComponents(SelectedActor->GetRootComponent());
 1663       	}
 1664       	else
 1665       	{
 1666       		bCanPaste = GUnrealEd->CanPasteSelectedActorsFromClipboard(GetWorld());
 1667       	}
 1668       
 1669       	return bCanPaste;
Steps to Reproduce

repro steps currently unknown

Callstack
Assertion failed: GEditor->GetSelectedActorCount() == 1 [File:D:\Build\++UE4+Release-4.16+Compile\Sync\Engine\Source\Editor\LevelEditor\Private\LevelEditorActions.cpp] [Line: 1661]

UE4Editor_LevelEditor!FLevelEditorActionCallbacks::Paste_CanExecute() [leveleditoractions.cpp:1662]
UE4Editor_Slate!FUICommandList::ConditionalProcessCommandBindings() [uicommandlist.cpp:213]
UE4Editor_Slate!FUICommandList::ProcessCommandBindings() [uicommandlist.cpp:160]
UE4Editor_UnrealEd!SEditorViewport::OnKeyDown() [seditorviewport.cpp:109]
UE4Editor_LevelEditor!SLevelViewport::OnKeyDown() [slevelviewport.cpp:444]
UE4Editor_Slate!<lambda_2afcd964c763e269e2d1a63f3a72f846>::operator() [slateapplication.cpp:4630]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FKeyEvent,<lambda_2afcd964c763e269e2d1a63f3a72f846> >() [slateapplication.cpp:239]
UE4Editor_Slate!FEventRouter::RouteAlongFocusPath<FEventRouter::FBubblePolicy,<lambda_2afcd964c763e269e2d1a63f3a72f846>,FKeyEvent>() [slateapplication.cpp:221]
UE4Editor_Slate!FSlateApplication::ProcessKeyDownEvent() [slateapplication.cpp:4628]
UE4Editor_Slate!FSlateApplication::OnKeyDown() [slateapplication.cpp:4541]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1539]
UE4Editor_Core!FWindowsApplication::DeferMessage() [windowsapplication.cpp:2127]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:867]
UE4Editor_Core!FWindowsApplication::AppWndProc() [windowsapplication.cpp:714]
user32!UserCallWinProcCheckWow()
user32!DispatchMessageWorker()
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [windowsplatformmisc.cpp:1009]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3058]
UE4Editor!GuardedMain() [launch.cpp:166]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:134]
UE4Editor!WinMain() [launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:253]
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-47457 in the post.

0
Login to Vote

Duplicate
ComponentTools
Affects Versions4.144.154.16
CreatedJul 19, 2017
ResolvedJul 19, 2017
UpdatedApr 27, 2018