Description

This crash occurs when trying to retarget an animation onto another skeleton with a retargeting rig that references a virtual bone.

This issue could be similar to [Link Removed]

This issue was reported and tested in 4.20.3 (CL-4369336). It was reproduced in 4.21.1 (CL-4613538) and Main 4.22 (CL-4715968)

Steps to Reproduce

This repro uses the Kwang assets from the Marketplace but any skeleton/animation should repro

  1. Open the UE4 Editor and create a Third Person Template project
  2. Import Paragon: Kwang into the project
  3. Navigate to 'UE4_Mannequin_Skeleton', add a virtual bone, set a 'Humanoid' retargeting rig and then click Show Advanced to set the virtual bone as Custom_1
  4. Navigate to the other skeleton (in this case Kwang_Skeleton) and set up a 'Humanoid' retargeting rig but don't change any of the settings
  5. Right-Click on one of the other skeleton's animations (Ability_Q_Catch) and select 'Retarget Anim Assets>Duplicate Anim Assets and Retarget'
  6. Select the 'UE4_Mannequin_Skeleton' and click retarget

Results: The Editor crashes

Expected: The Editor doesn't crash and the animation is retargeted

Callstack
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffd4d32a388 KERNELBASE.dll!UnknownFunction []
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffd176d6850 UE4Editor-ApplicationCore.dll!FWindowsErrorOutputDevice::Serialize() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowserroroutputdevice.cpp:65]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffce59b62fc UE4Editor-Core.dll!FOutputDevice::LogfImpl() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\outputdevice.cpp:70]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffce59451db UE4Editor-Core.dll!FDebug::AssertFailed() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:425]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffcdb4209d8 UE4Editor-Engine.dll!FillUpTransformBasedOnRig() [d:\build\++ue4\sync\engine\source\runtime\engine\private\animation\animsequence.cpp:3088]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffcdb443143 UE4Editor-Engine.dll!UAnimSequence::RemapTracksToNewSkeleton() [d:\build\++ue4\sync\engine\source\runtime\engine\private\animation\animsequence.cpp:3177]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffcdb4d83c9 UE4Editor-Engine.dll!UAnimationAsset::ReplaceSkeleton() [d:\build\++ue4\sync\engine\source\runtime\engine\private\animationasset.cpp:320]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffcd90f672b UE4Editor-UnrealEd.dll!EditorAnimUtils::FAnimationRetargetContext::RetargetAnimations() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\editoranimutils.cpp:269]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffcd90f5374 UE4Editor-UnrealEd.dll!EditorAnimUtils::RetargetAnimations() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\editoranimutils.cpp:343]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffcd90f631a UE4Editor-UnrealEd.dll!EditorAnimUtils::RetargetAnimations() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\editoranimutils.cpp:319]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffd0c2a2602 UE4Editor-AssetTools.dll!FAssetTypeActions_AnimationAsset::RetargetAnimationHandler() [d:\build\++ue4\sync\engine\source\developer\assettools\private\assettypeactions\assettypeactions_animationasset.cpp:247]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffd0c237890 UE4Editor-AssetTools.dll!TBaseSPMethodDelegateInstance<0,FAssetTypeActions_AnimationAsset,0,TTypeWrapper<void> __cdecl(USkeleton * __ptr64,USkeleton * __ptr64,bool,bool,bool,EditorAnimUtils::FNameDuplicationRule const * __ptr64),TArray<TWeakObjectPtr<UObject,FWeakObjectPtr>,FDefaultAllocator> >::Execute() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:269]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffcd9944d1c UE4Editor-UnrealEd.dll!SAnimationRemapSkeleton::OnApply() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\sskeletonwidget.cpp:952]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffcd9911b3f UE4Editor-UnrealEd.dll!TBaseSPMethodDelegateInstance<0,SAnimationRemapSkeleton,0,FReply __cdecl(void)>::Execute() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:269]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffce4da9c3b UE4Editor-Slate.dll!SButton::OnMouseButtonUp() [d:\build\++ue4\sync\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:290]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffce4b994c5 UE4Editor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_1002768c627006711ef2f351a87ec0e7> >() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:268]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffce4c31db2 UE4Editor-Slate.dll!FSlateApplication::RoutePointerUpEvent() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5472]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffce4c17c7a UE4Editor-Slate.dll!FSlateApplication::ProcessMouseButtonUpEvent() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5979]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffce4c0b25c UE4Editor-Slate.dll!FSlateApplication::OnMouseUp() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5959]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffd176cd1c7 UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1736]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffd176c0270 UE4Editor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:2182]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffd176cf4c5 UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:895]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffd176bc209 UE4Editor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:732]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffd4f576d41 USER32.dll!UnknownFunction []
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffd4f576713 USER32.dll!UnknownFunction []
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffd176d0646 UE4Editor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsplatformapplicationmisc.cpp:129]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ff6082754e5 UE4Editor.exe!FEngineLoop::Tick() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3417]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ff608285b3c UE4Editor.exe!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:166]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ff608285bba UE4Editor.exe!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:144]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ff608293dac UE4Editor.exe!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:223]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ff608295aaa UE4Editor.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283]
[2019.01.14-17.58.30:242][396]LogWindows: Error: [Callstack] 0x00007ffd4f703034 KERNEL32.DLL!UnknownFunction []
[2019.01.14-17.58.30:243][396]LogWindows: Error: [Callstack] 0x00007ffd50743691 ntdll.dll!UnknownFunction []

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-68490 in the post.

1
Login to Vote

Fixed
ComponentOLD - Anim
Affects Versions4.21.14.224.20.3
Target Fix4.22
Fix Commit5241021
Main Commit5241023
Release Commit5241021
CreatedJan 14, 2019
ResolvedFeb 28, 2019
UpdatedMay 18, 2020
View Jira Issue