Description

Crash occurs when the user select an AI-controlled pawn while simulating in viewport. This seems to only occur if the pawn is moving or getting directions from the controller (example, if you select the pawn before it moves, it won't crash. But if you have it selected while it starts moving, the crash will occur).

This does not occur in //UE4/Main or //UE4/Release-4.15.

Steps to Reproduce
  1. Open QAGame in editor.
  2. Open the level QA-AI.
  3. Simulate in viewport.
  4. Select any of the bots (easier to do this before they start moving, but crash won't occur until they move).

RESULT

Crash

Callstack
UE4Editor_GameplayDebugger!UGameplayDebuggerRenderingComponent::CreateSceneProxy() gameplaydebuggerrenderingcomponent.cpp:167 
UE4Editor_Renderer!FScene::AddPrimitive() rendererscene.cpp:679 
UE4Editor_GameplayDebugger!UGameplayDebuggerRenderingComponent::CreateRenderState_Concurrent() gameplaydebuggerrenderingcomponent.cpp:181 
UE4Editor_Engine!UActorComponent::RecreateRenderState_Concurrent() actorcomponent.cpp:1258 
UE4Editor_Engine!UActorComponent::DoDeferredRenderUpdates_Concurrent() actorcomponent.cpp:1328 
UE4Editor_Engine!<lambda_759612662c4fc5eb1a507ed6a5a348e8>::operator() leveltick.cpp:930 
UE4Editor_Engine!ParallelForWithPreWork() parallelfor.h:221 
UE4Editor_Engine!UWorld::SendAllEndOfFrameUpdates() leveltick.cpp:944 
UE4Editor_Renderer!FRendererModule::BeginRenderingViewFamily() scenerendering.cpp:1834 
UE4Editor_UnrealEd!FEditorViewportClient::Draw() editorviewportclient.cpp:3379 
UE4Editor_Engine!FViewport::Draw() unrealclient.cpp:1185 
UE4Editor_UnrealEd!FEditorViewportClient::StopTracking() editorviewportclient.cpp:2439 
UE4Editor_UnrealEd!FEditorViewportClient::InputKey() editorviewportclient.cpp:2364 
UE4Editor_UnrealEd!FLevelEditorViewportClient::InputKey() leveleditorviewport.cpp:2505 
UE4Editor_Engine!FSceneViewport::OnMouseButtonUp() sceneviewport.cpp:552 
UE4Editor_Slate!SViewport::OnMouseButtonUp() sviewport.cpp:192 
UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator() slateapplication.cpp:5052 
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() slateapplication.cpp:238
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() slateapplication.cpp:5041 
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() slateapplication.cpp:5504 
UE4Editor_Slate!FSlateApplication::OnMouseUp() slateapplication.cpp:5481 
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() windowsapplication.cpp:1698 
UE4Editor_Core!FWindowsApplication::DeferMessage() windowsapplication.cpp:2120 
UE4Editor_Core!FWindowsApplication::ProcessMessage() windowsapplication.cpp:867 
UE4Editor_Core!FWindowsApplication::AppWndProc() windowsapplication.cpp:714 
user32!<Unknown> 
user32!<Unknown> 
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() windowsplatformmisc.cpp:979 
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2971 
UE4Editor!GuardedMain() launch.cpp:166 
UE4Editor!GuardedMainWrapper() launchwindows.cpp:130 
UE4Editor!WinMain() launchwindows.cpp:206 
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-40069 in the post.

0
Login to Vote

Fixed
ComponentUE - AI
Affects Versions4.16
Target Fix4.16
Fix Commit3244466
Main Commit3252563
CreatedDec 28, 2016
ResolvedJan 1, 2017
UpdatedApr 27, 2018