Description

When using the shortcut Crtl+W to copy a blackboard node within a behavior tree the editor will crash

Steps to Reproduce
  1. Open Editor
  2. Create a New Behavior tree
  3. Open the new behavior tree
  4. Create a sequence node
  5. Right click and add a composite decorator to the sequence (image for reference)
  6. Open the composite decorator
  7. Add a blackboard node
  8. Select the node and use the short cut Ctrl+W
  9. Notice that the engine crashes

Expected: The Node get duplicated
Result: The engine crashes

Callstack

MachineId:E74C21034048BDD873CC6C9A3913CF6C
EpicAccountId:ccbf39de6f9245c0aa23f8e57cc8a566

Access violation - code c0000005 (first/second chance not available)

""

UE4Editor_AIGraph!FAIGraphEditor::PasteNodesHere() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\editor\aigraph\private\aigrapheditor.cpp:313]
UE4Editor_AIGraph!FAIGraphEditor::PasteNodes() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\editor\aigraph\private\aigrapheditor.cpp:298]
UE4Editor_AIGraph!TBaseRawMethodDelegateInstance<0,FAIGraphEditor,void __cdecl(void)>::ExecuteIfSafe() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:582]
UE4Editor_Slate!FUICommandList::ConditionalProcessCommandBindings() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\slate\private\framework\commands\uicommandlist.cpp:194]
UE4Editor_Slate!FUICommandList::ProcessCommandBindings() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\slate\private\framework\commands\uicommandlist.cpp:138]
UE4Editor_GraphEditor!SGraphEditorImpl::OnKeyDown() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\editor\grapheditor\private\sgrapheditorimpl.cpp:66]
UE4Editor_Slate!<lambda_4f604f87f3ce3f5c3b6a1447676ad634>::operator()() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:3750]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FKeyEvent,<lambda_4f604f87f3ce3f5c3b6a1447676ad634> >() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:212]
UE4Editor_Slate!FEventRouter::RouteAlongFocusPath<FEventRouter::FBubblePolicy,<lambda_4f604f87f3ce3f5c3b6a1447676ad634>,FKeyEvent>() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:194]
UE4Editor_Slate!FSlateApplication::ProcessKeyDownEvent() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:3751]
UE4Editor_Slate!FSlateApplication::OnKeyDown() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:3675]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\private\windows\windowsapplication.cpp:1259]
UE4Editor_Core!FWindowsApplication::DeferMessage() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\private\windows\windowsapplication.cpp:1708]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\private\windows\windowsapplication.cpp:706]
UE4Editor_Core!FWindowsApplication::AppWndProc() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\private\windows\windowsapplication.cpp:628]
user32
user32
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:792]
UE4Editor!FEngineLoop::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\launch\private\launchengineloop.cpp:2323]
UE4Editor!GuardedMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\launch\private\launch.cpp:142]
UE4Editor!GuardedMainWrapper() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]

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 - AI
Affects Versions4.8.2
Target Fix4.11
Fix Commit2728745
Main Commit2765024
CreatedJul 16, 2015
ResolvedOct 14, 2015
UpdatedApr 27, 2018