Description

When adding a Control Rig asset to a level, choosing one of the orthographic views, and then drag selecting any part of the level, the editor crashes. This does not occur if you drag select in the perspective view. It also doesn't occur if a Control Rig asset is not in the level. 

Tested in //UE4/Release-4.25 @ CL 14818863 and this did NOT occur so marking as a Regression

Steps to Reproduce
  1. Right-click in the Content Browser
  2. Select Animation > Control Rig
  3. Open the new Control Rig asset
  4. Select the Rig Hierarchy tab
  5. Set the Skeletal Mesh to the SK_Mannequin
  6. Select File > New Level
  7. Choose the default template
  8. Drag the Control Rig asset into the level
  9. Set the view from Perspective to Right
  10. Drag select with your mouse in the viewport

RESULT:
The engine crashes

EXPECTED:
The user can drag select in an orthographic view when a control rig actor is present

Callstack
Fatal error!

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000000

[Callstack] 0x00007ff80eceba02 UE4Editor-ControlRigEditor.dll!FControlRigEditMode::FrustumSelect() [D:\Build\++UE4\Sync\Engine\Plugins\Experimental\ControlRig\Source\ControlRigEditor\Private\EditMode\ControlRigEditMode.cpp:992]
[Callstack] 0x00007ff80eca4a29 UE4Editor-ControlRigEditor.dll!FControlRigEditMode::BoxSelect() [D:\Build\++UE4\Sync\Engine\Plugins\Experimental\ControlRig\Source\ControlRigEditor\Private\EditMode\ControlRigEditMode.cpp:971]
[Callstack] 0x00007ff82e9f1259 UE4Editor-UnrealEd.dll!FEditorModeTools::BoxSelect() [D:\Build\++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\EditorModeManager.cpp:1151]
[Callstack] 0x00007ff82e8f2c11 UE4Editor-UnrealEd.dll!FDragTool_ActorBoxSelect::EndDrag() [D:\Build\++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\DragTool_BoxSelect.cpp:158]
[Callstack] 0x00007ff82eec36b3 UE4Editor-UnrealEd.dll!FMouseDeltaTracker::EndTracking() [D:\Build\++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\MouseDeltaTracker.cpp:320]
[Callstack] 0x00007ff82ea9fd72 UE4Editor-UnrealEd.dll!FEditorViewportClient::StopTracking() [D:\Build\++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\EditorViewportClient.cpp:2889]
[Callstack] 0x00007ff82ea7f9b2 UE4Editor-UnrealEd.dll!FEditorViewportClient::InputKey() [D:\Build\++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\EditorViewportClient.cpp:2824]
[Callstack] 0x00007ff82ee718a5 UE4Editor-UnrealEd.dll!FLevelEditorViewportClient::InputKey() [D:\Build\++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\LevelEditorViewport.cpp:2865]
[Callstack] 0x00007ff826e33eb9 UE4Editor-LevelEditor.dll!FViewportClient::InputKey() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Public\UnrealClient.h:814]
[Callstack] 0x00007ff83119758f UE4Editor-Engine.dll!FSceneViewport::OnMouseButtonUp() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\Slate\SceneViewport.cpp:577]
[Callstack] 0x00007ff83763fff4 UE4Editor-Slate.dll!SViewport::OnMouseButtonUp() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Slate\Private\Widgets\SViewport.cpp:219]
[Callstack] 0x00007ff8373746be UE4Editor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_cc5aea9e7377b04ce85c30c65ec3889b> >() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:378]
[Callstack] 0x00007ff8373f7f54 UE4Editor-Slate.dll!FSlateApplication::RoutePointerUpEvent() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4815]
[Callstack] 0x00007ff8373e0367 UE4Editor-Slate.dll!FSlateApplication::ProcessMouseButtonUpEvent() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5356]
[Callstack] 0x00007ff8373d3642 UE4Editor-Slate.dll!FSlateApplication::OnMouseUp() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5321]
[Callstack] 0x00007ff8819cbca5 UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [D:\Build\++UE4\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2174]
[Callstack] 0x00007ff8819b9197 UE4Editor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [D:\Build\++UE4\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2638]
[Callstack] 0x00007ff8819ce379 UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [D:\Build\++UE4\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1042]
[Callstack] 0x00007ff8819b4310 UE4Editor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [D:\Build\++UE4\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:874]
[Callstack] 0x00007ff8a0ce5c1d USER32.dll!UnknownFunction []
[Callstack] 0x00007ff8a0ce5612 USER32.dll!UnknownFunction []
[Callstack] 0x00007ff8819cf904 UE4Editor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [D:\Build\++UE4\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp:130]
[Callstack] 0x00007ff761fe8857 UE4Editor.exe!FEngineLoop::Tick() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4748]
[Callstack] 0x00007ff7620011ac UE4Editor.exe!GuardedMain() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:169]
[Callstack] 0x00007ff76200128a UE4Editor.exe!GuardedMainWrapper() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
[Callstack] 0x00007ff7620152ed UE4Editor.exe!WinMain() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:268]
[Callstack] 0x00007ff76201801a UE4Editor.exe!__scrt_common_main_seh() [d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[Callstack] 0x00007ff8a0897c24 KERNEL32.DLL!UnknownFunction []
[Callstack] 0x00007ff8a1cad4d1 ntdll.dll!UnknownFunction []

Have Comments or More Details?

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

0
Login to Vote

Unresolved
ComponentAnim - ControlRig
Affects Versions4.26.1
Target Fix4.27
CreatedFeb 11, 2021
UpdatedFeb 19, 2021