Description

Crash occurs when the user attempts to retarget an animation blueprint that is using a RigidBody node.

Steps to Reproduce
  1. Open QAGame in editor.
  2. In the Content Browser, right-click AnimBP_RigidBody and select Retarget Anim Blueprints > Duplicate Anim Blueprints and Retarget.
  3. Select M_Avg_Base_AnimSkeleton and click Retarget.

RESULT

Crash

Callstack
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\AnimPhys\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 633] 
Array index out of bounds: -1 from an array of size 79


KERNELBASE.dll!0x00000000FD33A06D
UE4Editor-Core.dll!FOutputDeviceWindowsError::Serialize() [d:\animphys\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:120]
UE4Editor-Core.dll!FOutputDevice::Logf__VA() [d:\animphys\engine\source\runtime\core\private\misc\outputdevice.cpp:70]
UE4Editor-Core.dll!FDebug::AssertFailed() [d:\animphys\engine\source\runtime\core\private\misc\assertionmacros.cpp:349]
UE4Editor-ImmediatePhysics.dll!FAnimNode_RigidBody::InitPhysics() [d:\animphys\engine\plugins\runtime\immediatephysics\source\immediatephysics\private\bonecontrollers\animnode_rigidbody.cpp:203]
UE4Editor-ImmediatePhysics.dll!FAnimNode_RigidBody::RootInitialize() [d:\animphys\engine\plugins\runtime\immediatephysics\source\immediatephysics\private\bonecontrollers\animnode_rigidbody.cpp:521]
UE4Editor-Engine.dll!<lambda_783f7e4a896a7234cf4edfe2b98c3af6>::operator()() [d:\animphys\engine\source\runtime\engine\private\animation\animinstanceproxy.cpp:148]
UE4Editor-Engine.dll!FAnimInstanceProxy::InitializeRootNode() [d:\animphys\engine\source\runtime\engine\private\animation\animinstanceproxy.cpp:174]
UE4Editor-Engine.dll!UAnimInstance::InitializeAnimation() [d:\animphys\engine\source\runtime\engine\private\animation\animinstance.cpp:208]
UE4Editor-Engine.dll!USkeletalMeshComponent::InitializeAnimScriptInstance() [d:\animphys\engine\source\runtime\engine\private\components\skeletalmeshcomponent.cpp:589]
UE4Editor-Engine.dll!USkeletalMeshComponent::InitAnim() [d:\animphys\engine\source\runtime\engine\private\components\skeletalmeshcomponent.cpp:543]
UE4Editor-Engine.dll!USkeletalMeshComponent::SetAnimInstanceClass() [d:\animphys\engine\source\runtime\engine\private\components\skeletalmeshcomponent.cpp:2059]
UE4Editor-UnrealEd.dll!FAnimBlueprintThumbnailScene::SetAnimBlueprint() [d:\animphys\engine\source\editor\unrealed\private\thumbnailhelpers.cpp:913]
UE4Editor-UnrealEd.dll!UAnimBlueprintThumbnailRenderer::Draw() [d:\animphys\engine\source\editor\unrealed\private\thumbnailrendering\animblueprintthumbnailrenderer.cpp:25]
UE4Editor-UnrealEd.dll!ThumbnailTools::RenderThumbnail() [d:\animphys\engine\source\editor\unrealed\private\objecttools.cpp:3924]
UE4Editor-UnrealEd.dll!ThumbnailTools::GenerateThumbnailForObjectToSaveToDisk() [d:\animphys\engine\source\editor\unrealed\private\objecttools.cpp:3990]
UE4Editor-UnrealEd.dll!UUnrealEdEngine::GeneratePackageThumbnailsIfRequired() [d:\animphys\engine\source\editor\unrealed\private\unrealedsrv.cpp:443]
UE4Editor-UnrealEd.dll!UUnrealEdEngine::Exec() [d:\animphys\engine\source\editor\unrealed\private\unrealedsrv.cpp:661]
UE4Editor-UnrealEd.dll!InternalSavePackage() [d:\animphys\engine\source\editor\unrealed\private\filehelpers.cpp:2749]
UE4Editor-UnrealEd.dll!FEditorFileUtils::PromptForCheckoutAndSave() [d:\animphys\engine\source\editor\unrealed\private\filehelpers.cpp:3367]
UE4Editor-AssetTools.dll!FAssetTypeActions_Skeleton::PerformRetarget() [d:\animphys\engine\source\developer\assettools\private\assettypeactions\assettypeactions_skeleton.cpp:645]
UE4Editor-AssetTools.dll!FAssetTypeActions_Skeleton::RetargetAnimationHandler() [d:\animphys\engine\source\developer\assettools\private\assettypeactions\assettypeactions_skeleton.cpp:590]
UE4Editor-AssetTools.dll!TBaseSPMethodDelegateInstance<0,FAssetTypeActions_Skeleton,0,TTypeWrapper<void> __cdecl(USkeleton * __ptr64,USkeleton * __ptr64,bool,bool,bool,EditorAnimUtils::FNameDuplicationRule const * __ptr64)>::Execute() [d:\animphys\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:327]
UE4Editor-UnrealEd.dll!SAnimationRemapSkeleton::OnApply() [d:\animphys\engine\source\editor\unrealed\private\sskeletonwidget.cpp:951]
UE4Editor-UnrealEd.dll!TMemberFunctionCaller<SAnimationRemapSkeleton,FReply (__cdecl SAnimationRemapSkeleton::*)(void) __ptr64>::operator()<>() [d:\animphys\engine\source\runtime\core\public\delegates\delegateinstanceinterface.h:165]
UE4Editor-UnrealEd.dll!TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SAnimationRemapSkeleton,FReply (__cdecl SAnimationRemapSkeleton::*)(void) __ptr64> >() [d:\animphys\engine\source\runtime\core\public\delegates\tuple.h:134]
UE4Editor-UnrealEd.dll!TBaseSPMethodDelegateInstance<0,SAnimationRemapSkeleton,0,FReply __cdecl(void)>::Execute() [d:\animphys\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:327]
UE4Editor-Slate.dll!TBaseDelegate<FReply>::Execute() [d:\animphys\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:537]
UE4Editor-Slate.dll!SButton::OnMouseButtonUp() [d:\animphys\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:278]
UE4Editor-Slate.dll!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator()() [d:\animphys\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5013]
UE4Editor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() [d:\animphys\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:239]
UE4Editor-Slate.dll!FSlateApplication::RoutePointerUpEvent() [d:\animphys\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5002]
UE4Editor-Slate.dll!FSlateApplication::ProcessMouseButtonUpEvent() [d:\animphys\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5469]
UE4Editor-Slate.dll!FSlateApplication::OnMouseUp() [d:\animphys\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5446]
UE4Editor-Core.dll!FWindowsApplication::ProcessDeferredMessage() [d:\animphys\engine\source\runtime\core\private\windows\windowsapplication.cpp:1698]
UE4Editor-Core.dll!FWindowsApplication::DeferMessage() [d:\animphys\engine\source\runtime\core\private\windows\windowsapplication.cpp:2120]
UE4Editor-Core.dll!FWindowsApplication::ProcessMessage() [d:\animphys\engine\source\runtime\core\private\windows\windowsapplication.cpp:867]
UE4Editor-Core.dll!FWindowsApplication::AppWndProc() [d:\animphys\engine\source\runtime\core\private\windows\windowsapplication.cpp:714]
USER32.dll!0x0000000077359BBD
USER32.dll!0x00000000773598C2
UE4Editor-Core.dll!FWindowsPlatformMisc::PumpMessages() [d:\animphys\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:980]
UE4Editor.exe!FEngineLoop::Tick() [d:\animphys\engine\source\runtime\launch\private\launchengineloop.cpp:3008]
UE4Editor.exe!GuardedMain() [d:\animphys\engine\source\runtime\launch\private\launch.cpp:166]
UE4Editor.exe!GuardedMainWrapper() [d:\animphys\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
UE4Editor.exe!WinMain() [d:\animphys\engine\source\runtime\launch\private\windows\launchwindows.cpp:210]
UE4Editor.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264]
kernel32.dll!0x00000000772359CD
ntdll.dll!0x000000007746A561
ntdll.dll!0x000000007746A561

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Simulation - Physics
Affects Versions4.16
Target Fix4.16
Fix Commit3336018
Main Commit3362661
CreatedFeb 17, 2017
ResolvedMar 7, 2017
UpdatedApr 27, 2018
View Jira Issue