[BUG] Crash when retargeting animation

Quick crash report. Editor crashes (4.5 preview build) when retargeting an animation with following message:

Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:F:\Dokumente\UE4\SourceCode\4.5 needed\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 536]
Array index out of bounds: 58 from an array of size 58

KERNELBASE.dll!UnknownFunction (0x00007fff26f0606c) + 0 bytes [UnknownFile:0]
UE4Editor-Core.dll!FOutputDeviceWindowsError::Serialize() (0x00007fff0381593d) + 0 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:95]
UE4Editor-Core.dll!FOutputDevice::Logf__VA() (0x00007fff036b3568) + 159 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\runtime\core\private\misc\outputdevice.cpp:145]
UE4Editor-Core.dll!FDebug::AssertFailed() (0x00007fff03696432) + 62 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\runtime\core\private\misc\outputdevice.cpp:220]
UE4Editor-Engine.dll!FillUpTransformBasedOnRig() (0x00007fff000e2558) + 71 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\runtime\engine\private\animation\animsequence.cpp:1612]
UE4Editor-Engine.dll!UAnimSequence::RemapTracksToNewSkeleton() (0x00007fff000fb5c5) + 0 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\runtime\engine\private\animation\animsequence.cpp:1707]
UE4Editor-Engine.dll!UAnimationAsset::ReplaceSkeleton() (0x00007ffeff7f60bb) + 0 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\runtime\engine\private\animationasset.cpp:70]
UE4Editor-UnrealEd.dll!EditorAnimUtils::FAnimationRetargetContext::RetargetAnimations() (0x00007ffefa9001c3) + 0 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\editor\unrealed\private\editoranimutils.cpp:171]
UE4Editor-UnrealEd.dll!EditorAnimUtils::RetargetAnimations() (0x00007ffefa8ff983) + 0 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\editor\unrealed\private\editoranimutils.cpp:262]
UE4Editor-UnrealEd.dll!EditorAnimUtils::RetargetAnimations() (0x00007ffefa8fff36) + 32 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\editor\unrealed\private\editoranimutils.cpp:238]
UE4Editor-AssetTools.dll!FAssetTypeActions_AnimationAsset::RetargetAnimationHandler() (0x00007ffee71ed741) + 59 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\developer\assettools\private\assettypeactions\assettypeactions_animationasset.cpp:158]
UE4Editor-AssetTools.dll!TBaseSPMethodDelegateInstance_FourParams_TwoVars,FDefaultAllocator>,0>::Execute() (0x00007ffee7183b94) + 61 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\runtime\core\public\delegates\delegateinstancesimpl.inl:161]
UE4Editor-UnrealEd.dll!SAnimationRemapSkeleton::OnApply() (0x00007ffefac64e9d) + 0 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\editor\unrealed\private\sskeletonwidget.cpp:690]
UE4Editor-UnrealEd.dll!TBaseSPMethodDelegateInstance_RetVal_NoParams::Execute() (0x00007ffefac2353f) + 17 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\runtime\core\public\delegates\delegateinstancesimpl.inl:161]
UE4Editor-Slate.dll!TBaseDelegate_RetVal_NoParams::Execute() (0x00007fff02f451ea) + 6 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:1058]
UE4Editor-Slate.dll!SButton::OnMouseButtonUp() (0x00007fff02f62085) + 17 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:188]
UE4Editor-Slate.dll!FSlateApplication::ProcessMouseButtonUpEvent() (0x00007fff02ebdf2c) + 23 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:3489]
UE4Editor-Slate.dll!FSlateApplication::OnMouseUp() (0x00007fff02eab666) + 16 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:3456]
UE4Editor-Core.dll!FWindowsApplication::ProcessDeferredMessage() (0x00007fff037956a9) + 12 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\runtime\core\private\windows\windowsapplication.cpp:1346]
UE4Editor-Core.dll!FWindowsApplication::DeferMessage() (0x00007fff03781bab) + 74 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\runtime\core\private\windows\windowsapplication.cpp:1637]
UE4Editor-Core.dll!FWindowsApplication::ProcessMessage() (0x00007fff03796829) + 41 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\runtime\core\private\windows\windowsapplication.cpp:737]
UE4Editor-Core.dll!FWindowsApplication::AppWndProc() (0x00007fff0377e4f2) + 0 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\runtime\core\private\windows\windowsapplication.cpp:599]
USER32.dll!UnknownFunction (0x00007fff29482434) + 0 bytes [UnknownFile:0]
USER32.dll!UnknownFunction (0x00007fff29482297) + 0 bytes [UnknownFile:0]
UE4Editor-Core.dll!FWindowsPlatformMisc::PumpMessages() (0x00007fff03796ce6) + 48 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:757]
UE4Editor.exe!FEngineLoop::Tick() (0x00007ff6ef788f22) + 8 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\runtime\launch\private\launchengineloop.cpp:2111]
UE4Editor.exe!GuardedMain() (0x00007ff6ef77eb0e) + 0 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\runtime\launch\private\launch.cpp:133]
UE4Editor.exe!GuardedMainWrapper() (0x00007ff6ef77eb7a) + 5 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\runtime\launch\private\windows\launchwindows.cpp:125]
UE4Editor.exe!WinMain() (0x00007ff6ef78a6f9) + 17 bytes [f:\dokumente\ue4\sourcecode\4.5 needed\engine\source\runtime\launch\private\windows\launchwindows.cpp:201]
UE4Editor.exe!__tmainCRTStartup() (0x00007ff6ef78b629) + 21 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]
KERNEL32.DLL!UnknownFunction (0x00007fff293416ad) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00007fff29ab4409) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00007fff29ab4409) + 0 bytes [UnknownFile:0]

1 Like

Hey order66,

This bug has been reported:

and we have entered a report in our system for developers. Thank you for your report!