Description

When a post process anim Blueprint that uses a virtual bone is used in the Skeletal Mesh and the virtual bone is deleted from the skeleton, crash occurs

-The Post Process Anim Blueprint is set in the Skeletal Mesh under Asset Details < Skeletal Mesh < Post Process Anim Blueprint

Steps to Reproduce
  1. Download attached project
  2. Open SubBlueprint (AnimBlueprint) and see that it references the Virtual Bone VB foot_l_foot_l
  3. Open Skeleton
  4. Delete VB foot_l_foot_l
  5. See crash

Expected: Crash does not occur when the virtual bone is deleted from the skeleton

Result: Crash occurs when the virtual bone is deleted form the skeleton

Callstack
LoginId:bdcd2df1437ec38ad0d19c85e30ff2d1
EpicAccountId:1ed52ca976af4368b6c30d11b7cdc18f

Assertion failed: Index>=0 && Index<NumBits [File:D:\Build\++UE4+Release-4.19+Compile\Sync\Engine\Source\Runtime\Core\Public\Containers/BitArray.h] [Line: 734]

UE4Editor_Core!FDebug::AssertFailed() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:419]
UE4Editor_Engine!FBoneContainer::Contains() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\public\bonecontainer.h:292]
UE4Editor_Engine!FBoneReference::IsValidToEvaluate() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\bonecontainer.cpp:391]
UE4Editor_AnimGraphRuntime!FAnimNode_SkeletalControlBase::Update_AnyThread() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\animgraphruntime\private\bonecontrollers\animnode_skeletalcontrolbase.cpp:84]
UE4Editor_Engine!FPoseLinkBase::Update() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\animation\animnodebase.cpp:231]
UE4Editor_AnimGraphRuntime!FAnimNode_SkeletalControlBase::Update_AnyThread() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\animgraphruntime\private\bonecontrollers\animnode_skeletalcontrolbase.cpp:78]
UE4Editor_Engine!FPoseLinkBase::Update() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\animation\animnodebase.cpp:231]
UE4Editor_Engine!FPoseLinkBase::Update() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\animation\animnodebase.cpp:231]
UE4Editor_Engine!FAnimInstanceProxy::UpdateAnimationNode() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\animation\animinstanceproxy.cpp:41]
UE4Editor_Engine!FAnimInstanceProxy::UpdateAnimation() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\animation\animinstanceproxy.cpp:1013]
UE4Editor_Engine!UAnimInstance::UpdateAnimation() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\animation\animinstance.cpp:452]
UE4Editor_Engine!USkeletalMeshComponent::TickAnimation() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\components\skeletalmeshcomponent.cpp:987]
UE4Editor_Engine!USkeletalMeshComponent::InitAnim() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\components\skeletalmeshcomponent.cpp:643]
UE4Editor_Engine!USkeletalMeshComponent::OnRegister() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\components\skeletalmeshcomponent.cpp:494]
UE4Editor_Engine!UActorComponent::ExecuteRegisterEvents() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\components\actorcomponent.cpp:1239]
UE4Editor_Engine!FComponentReregisterContextBase::ReRegister() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\public\componentreregistercontext.h:68]
UE4Editor_Engine!USkeleton::HandleVirtualBoneChanges() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\animation\skeleton.cpp:1602]
UE4Editor_SkeletonEditor!SSkeletonTree::DeleteVirtualBones() [d:\build\++ue4+release-4.19+compile\sync\engine\source\editor\skeletoneditor\private\sskeletontree.cpp:1884]
UE4Editor_SkeletonEditor!SSkeletonTree::OnDeleteSelectedRows() [d:\build\++ue4+release-4.19+compile\sync\engine\source\editor\skeletoneditor\private\sskeletontree.cpp:1835]
UE4Editor_SkeletonEditor!TBaseSPMethodDelegateInstance<0,SSkeletonTree,0,TTypeWrapper<void> __cdecl(void)>::Execute() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:269]
UE4Editor_SkeletonEditor!TBaseSPMethodDelegateInstance<0,SSkeletonTree,0,void __cdecl(void)>::ExecuteIfSafe() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:345]
UE4Editor_Slate!FUICommandList::ExecuteAction() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\commands\uicommandlist.cpp:97]
UE4Editor_PinnedCommandList!FUICommandList_Pinnable::ExecuteAction() [d:\build\++ue4+release-4.19+compile\sync\engine\source\editor\pinnedcommandlist\private\uicommandlist_pinnable.cpp:12]
UE4Editor_Slate!SMenuEntryBlock::OnClicked() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:1028]
UE4Editor_Slate!SMenuEntryBlock::OnMenuItemButtonClicked() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:988]
UE4Editor_Slate!TMemberFunctionCaller<SMenuEntryBlock,FReply (__cdecl SMenuEntryBlock::*)(void) __ptr64>::operator()<>() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\public\delegates\delegateinstanceinterface.h:156]
UE4Editor_Slate!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SMenuEntryBlock,FReply (__cdecl SMenuEntryBlock::*)(void) __ptr64> >() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\public\templates\tuple.h:498]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SMenuEntryBlock,0,FReply __cdecl(void)>::Execute() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:269]
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:537]
UE4Editor_Slate!SButton::OnMouseButtonUp() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:282]
UE4Editor_Slate!SMenuEntryButton::OnMouseButtonUp() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:385]
UE4Editor_Slate!<lambda_1002768c627006711ef2f351a87ec0e7>::operator()() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5440]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_1002768c627006711ef2f351a87ec0e7> >() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:266]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5429]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5927]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5907]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1726]
UE4Editor_ApplicationCore!FWindowsApplication::DeferMessage() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:2172]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessMessage() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:889]
UE4Editor_ApplicationCore!FWindowsApplication::AppWndProc() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:726]
user32
user32
UE4Editor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsplatformapplicationmisc.cpp:129]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3263]
UE4Editor!GuardedMain() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\launch\private\launch.cpp:166]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
UE4Editor!WinMain() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
kernel32
ntdll

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentOLD - Anim
Affects Versions4.18.34.194.20
Target Fix4.20
Fix Commit4112790
Main Commit4124555
Release Commit4112790
CreatedMar 22, 2018
ResolvedJun 5, 2018
UpdatedJun 12, 2018
View Jira Issue