[4.5 Preview] Animation Retargeting

When clicking “Save Pose” I see below error:

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


KERNELBASE.dll!UnknownFunction (0x00007ffe2ba15bf8) + 0 bytes [UnknownFile:0]
UE4Editor-Core.dll!FOutputDeviceWindowsError::Serialize() (0x00007ffe0dd67bdd) + 0 bytes [e:\uepreview\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:95]
UE4Editor-Core.dll!FOutputDevice::Logf__VA() (0x00007ffe0dc037f8) + 159 bytes [e:\uepreview\engine\source\runtime\core\private\misc\outputdevice.cpp:145]
UE4Editor-Core.dll!FDebug::AssertFailed() (0x00007ffe0dbe66c2) + 62 bytes [e:\uepreview\engine\source\runtime\core\private\misc\outputdevice.cpp:220]
UE4Editor-Persona.dll!SRetargetManager::OnSaveRetargetBasePose() (0x00007ffe015957f8) + 65 bytes [e:\uepreview\engine\source\editor\persona\private\sretargetmanager.cpp:268]
UE4Editor-Persona.dll!TBaseSPMethodDelegateInstance_RetVal_NoParams<SRetargetManager,FReply,0>::Execute() (0x00007ffe0151d40f) + 17 bytes [e:\uepreview\engine\source\runtime\core\public\delegates\delegateinstancesimpl.inl:161]
UE4Editor-Slate.dll!TBaseDelegate_RetVal_NoParams<FReply>::Execute() (0x00007ffe110e58da) + 6 bytes [e:\uepreview\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:1058]
UE4Editor-Slate.dll!SButton::OnMouseButtonUp() (0x00007ffe11102775) + 17 bytes [e:\uepreview\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:188]
UE4Editor-Slate.dll!FSlateApplication::ProcessMouseButtonUpEvent() (0x00007ffe1105e55c) + 23 bytes [e:\uepreview\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:3489]
UE4Editor-Slate.dll!FSlateApplication::OnMouseUp() (0x00007ffe1104bc56) + 16 bytes [e:\uepreview\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:3456]
UE4Editor-Core.dll!FWindowsApplication::ProcessDeferredMessage() (0x00007ffe0dce7939) + 12 bytes [e:\uepreview\engine\source\runtime\core\private\windows\windowsapplication.cpp:1346]
UE4Editor-Core.dll!FWindowsApplication::DeferMessage() (0x00007ffe0dcd3ddb) + 74 bytes [e:\uepreview\engine\source\runtime\core\private\windows\windowsapplication.cpp:1637]
UE4Editor-Core.dll!FWindowsApplication::ProcessMessage() (0x00007ffe0dce8ab9) + 41 bytes [e:\uepreview\engine\source\runtime\core\private\windows\windowsapplication.cpp:737]
UE4Editor-Core.dll!FWindowsApplication::AppWndProc() (0x00007ffe0dcd0722) + 0 bytes [e:\uepreview\engine\source\runtime\core\private\windows\windowsapplication.cpp:599]
USER32.dll!UnknownFunction (0x00007ffe2bfd2434) + 0 bytes [UnknownFile:0]
USER32.dll!UnknownFunction (0x00007ffe2bfd2297) + 0 bytes [UnknownFile:0]
UE4Editor-Core.dll!FWindowsPlatformMisc::PumpMessages() (0x00007ffe0dce8f76) + 48 bytes [e:\uepreview\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:757]
UE4Editor.exe!FEngineLoop::Tick() (0x00007ff657a7b082) + 8 bytes [e:\uepreview\engine\source\runtime\launch\private\launchengineloop.cpp:2111]
UE4Editor.exe!GuardedMain() (0x00007ff657a70c3e) + 0 bytes [e:\uepreview\engine\source\runtime\launch\private\launch.cpp:133]
UE4Editor.exe!GuardedMainWrapper() (0x00007ff657a70caa) + 5 bytes [e:\uepreview\engine\source\runtime\launch\private\windows\launchwindows.cpp:125]
UE4Editor.exe!WinMain() (0x00007ff657a7c859) + 17 bytes [e:\uepreview\engine\source\runtime\launch\private\windows\launchwindows.cpp:201]
UE4Editor.exe!__tmainCRTStartup() (0x00007ff657a7d789) + 21 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]
KERNEL32.DLL!UnknownFunction (0x00007ffe2cda16ad) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00007ffe2e4134a5) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00007ffe2e4134a5) + 0 bytes [UnknownFile:0]

i have this error too

Hey,

I have not been able to reproduce this error by using Save Pose. Can you attempt to reproduce issue using assets in Anim Starter Pack and Mixamo Character Pack, as described in this documentation:

https://docs.unrealengine.com/latest/INT/Engine/Animation/RetargetingDifferentSkeletons/index.html

I want to see if you get same error with other assets, or if it’s specific to ones you’re using. Thanks!

It happens only for some characters. AnimStarter Pack and Mixamo is good but you can see this for charaters in CouchKnights Demo.

And does this only occur in 4.5 Preview? It works for you as intended in 4.4.3?

Eeeemm. Animation Retargeting (for different skeletons) is new feature in 4.5

Yep, you’re right, sorry about that. I’ll check this out with CouchKnights Demo and get back to you. Thanks!

Hi,
and what’s going on? When it is solved? Maybe could you tell me what can I change in source and I did it? Because this feature is very important for me and I’m currently need Animation Retargeting for my heroes :slight_smile:

Hey ,

I was able to retarget skeletons and Save Pose without any error, using HeroTPP_Skeleton and SK_Oculus_Male_Skeleton (from CouchKnights Demo) assets. Can you give me a more thorough description of exactly when this happens, at which step in process, and with which particular assets? Thanks!

Can you give me a more thorough description of exactly when this happens, at which step in process, and with which particular assets?

  1. Open ContentExamples project.
  2. Open Owen_Skeleton asset.
  3. Open Retarget Manager → click View Pose → move upperarm_r bone → click Save Pose → see you next time :slight_smile:

Crash log:

Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:E:\Work\GitHub\UnrealEngine\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 536]
Array index out of bounds: 87 from an array of size 87

KERNELBASE.dll!UnknownFunction (0x00007ff9d6995bf8) + 0 bytes [UnknownFile:0]
UE4Editor-Core.dll!FOutputDeviceWindowsError::Serialize() (0x00007ff9abd12f04) + 0 bytes [e:\work\github\unrealengine\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:95]
UE4Editor-Core.dll!FOutputDevice::Logf__VA() (0x00007ff9abba7578) + 159 bytes [e:\work\github\unrealengine\engine\source\runtime\core\private\misc\outputdevice.cpp:145]
UE4Editor-Core.dll!FDebug::AssertFailed() (0x00007ff9abb8c652) + 62 bytes [e:\work\github\unrealengine\engine\source\runtime\core\private\misc\outputdevice.cpp:220]
UE4Editor-Persona.dll!SRetargetManager::OnSaveRetargetBasePose() (0x00007ff99ec82c48) + 65 bytes [e:\work\github\unrealengine\engine\source\editor\persona\private\sretargetmanager.cpp:268]
UE4Editor-Persona.dll!TBaseSPMethodDelegateInstance_RetVal_NoParams::Execute() (0x00007ff99ec09e8f) + 17 bytes [e:\work\github\unrealengine\engine\source\runtime\core\public\delegates\delegateinstancesimpl.inl:161]
UE4Editor-Slate.dll!TBaseDelegate_RetVal_NoParams::Execute() (0x00007ff9a8ff60ba) + 6 bytes [e:\work\github\unrealengine\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:1058]
UE4Editor-Slate.dll!SButton::OnMouseButtonUp() (0x00007ff9a9022c05) + 17 bytes [e:\work\github\unrealengine\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:188]
UE4Editor-Slate.dll!FSlateApplication::ProcessMouseButtonUpEvent() (0x00007ff9a8ebc15c) + 23 bytes [e:\work\github\unrealengine\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:3489]
UE4Editor-Slate.dll!FSlateApplication::OnMouseUp() (0x00007ff9a8eab786) + 16 bytes [e:\work\github\unrealengine\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:3456]
UE4Editor-Core.dll!FWindowsApplication::ProcessDeferredMessage() (0x00007ff9abc6fbd9) + 12 bytes [e:\work\github\unrealengine\engine\source\runtime\core\private\windows\windowsapplication.cpp:1346]
UE4Editor-Core.dll!FWindowsApplication::DeferMessage() (0x00007ff9abc6204b) + 74 bytes [e:\work\github\unrealengine\engine\source\runtime\core\private\windows\windowsapplication.cpp:1637]
UE4Editor-Core.dll!FWindowsApplication::ProcessMessage() (0x00007ff9abc70d59) + 41 bytes [e:\work\github\unrealengine\engine\source\runtime\core\private\windows\windowsapplication.cpp:737]
UE4Editor-Core.dll!FWindowsApplication::AppWndProc() (0x00007ff9abc5f2e2) + 0 bytes [e:\work\github\unrealengine\engine\source\runtime\core\private\windows\windowsapplication.cpp:599]
USER32.dll!UnknownFunction (0x00007ff9d92c2434) + 0 bytes [UnknownFile:0]
USER32.dll!UnknownFunction (0x00007ff9d92c2297) + 0 bytes [UnknownFile:0]
UE4Editor-Core.dll!FWindowsPlatformMisc::PumpMessages() (0x00007ff9abd0ec16) + 48 bytes [e:\work\github\unrealengine\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:757]
UE4Editor.exe!FEngineLoop::Tick() (0x00007ff714618f22) + 8 bytes [e:\work\github\unrealengine\engine\source\runtime\launch\private\launchengineloop.cpp:2111]
UE4Editor.exe!GuardedMain() (0x00007ff71460eb0e) + 0 bytes [e:\work\github\unrealengine\engine\source\runtime\launch\private\launch.cpp:133]
UE4Editor.exe!GuardedMainWrapper() (0x00007ff71460eb7a) + 5 bytes [e:\work\github\unrealengine\engine\source\runtime\launch\private\windows\launchwindows.cpp:125]
UE4Editor.exe!WinMain() (0x00007ff71461a6f9) + 17 bytes [e:\work\github\unrealengine\engine\source\runtime\launch\private\windows\launchwindows.cpp:201]
UE4Editor.exe!__tmainCRTStartup() (0x00007ff71461b629) + 21 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]
KERNEL32.DLL!UnknownFunction (0x00007ff9d6d416ad) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00007ff9d94c34a5) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00007ff9d94c34a5) + 0 bytes [UnknownFile:0]

It only occurs for S_Player_Character.

Hey and es,

It looks like only some skeletons cause this crash, but I was able to reproduce it with two assets you specified and have entered a bug report in our system for developers to look over (TTP#348395). I will let you know when I see an update on that. Right now I do not believe there is a workaround, but I will let you know if I find otherwise. Thank you for detailed report!

I also encounter from Adams Mixamo same Error :frowning:

Please check my 2 Reported Post same using UE4.5 PostSave… Its more than 4 days no one reply. :frowning:
Thanks

Your other issues have been addressed. Please let us know if you have further questions about those issues on those posts. Thanks!