Description

Engine crashes when creating a new pose asset in persona using the Create Asset option
-Tested with walk, idle, and run anims
-Didn't crash only once out of the several times tested with the ThirdPerson_Jump anim/seems consistent otherwise

Steps to Reproduce
  1. Create a Third Person template project
  2. Open the ThirdPersonIdle animation
  3. Pause the animation
  4. Create Asset < Create Pose Asset < Current Pose
  5. The Window for Create a New Animation Assets will open
  6. Select OK(Don't need to change the name)
  7. Observe crash

Expected: Engine does not crash when creating a new pose asset through persona
Result: Engine crashes when creating a new pose asset through persona

Callstack
LoginId:bdcd2df1437ec38ad0d19c85e30ff2d1
EpicAccountId:1ed52ca976af4368b6c30d11b7cdc18f

Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\Build\++UE4+Release-4.19+Compile\Sync\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 610] Array index out of bounds: 0 from an array of size 0

UE4Editor_Core!FDebug::AssertFailed() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:419]
UE4Editor_Engine!FPoseDataContainer::FillUpSkeletonPose() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\animation\poseasset.cpp:201]
UE4Editor_Engine!UPoseAsset::AddOrUpdatePose() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\animation\poseasset.cpp:870]
UE4Editor_Engine!UPoseAsset::AddOrUpdatePose() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\animation\poseasset.cpp:841]
UE4Editor_Engine!UPoseAsset::AddOrUpdatePoseWithUniqueName() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\animation\poseasset.cpp:778]
UE4Editor_AnimationEditor!FAnimationEditor::CreatePoseAsset() [d:\build\++ue4+release-4.19+compile\sync\engine\source\editor\animationeditor\private\animationeditor.cpp:1083]
UE4Editor_AnimationEditor!TBaseSPMethodDelegateInstance<0,FAnimationEditor const ,0,bool __cdecl(TArray<UObject * __ptr64,FDefaultAllocator>),enum FAnimationEditor::EPoseSourceOption>::Execute() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:269]
UE4Editor_UnrealEd!AnimationEditorUtils::CreateAnimationAssets() [d:\build\++ue4+release-4.19+compile\sync\engine\source\editor\unrealed\private\animationeditorutils.cpp:315]
UE4Editor_AnimationEditor!AnimationEditorUtils::ExecuteNewAnimAsset<UPoseAssetFactory,UPoseAsset>() [d:\build\++ue4+release-4.19+compile\sync\engine\source\editor\unrealed\public\animationeditorutils.h:194]
UE4Editor_AnimationEditor!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int,0,1,2,3>,TArray<TWeakObjectPtr<UObject,FWeakObjectPtr>,FDefaultAllocator>,FString,TBaseDelegate<bool,TArray<UObject * __ptr64,FDefaultAllocator> >,bool>::ApplyAfter<void (__() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\public\templates\tuple.h:424]
UE4Editor_AnimationEditor!TBaseStaticDelegateInstance<void __cdecl(void),TArray<TWeakObjectPtr<UObject,FWeakObjectPtr>,FDefaultAllocator>,FString,TBaseDelegate<bool,TArray<UObject * __ptr64,FDefaultAllocator> >,bool>::ExecuteIfSafe() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:788]
UE4Editor_Slate!SMenuEntryBlock::OnClicked() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:1037]
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:5435]
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:5424]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5922]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5902]
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:3244]
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
LoginId:bdcd2df1437ec38ad0d19c85e30ff2d1
EpicAccountId:1ed52ca976af4368b6c30d11b7cdc18f

Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\Build\++UE4+Release-4.19+Compile\Sync\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 610] Array index out of bounds: 0 from an array of size 0

UE4Editor_Core!FDebug::AssertFailed() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:419]
UE4Editor_Engine!FPoseDataContainer::FillUpSkeletonPose() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\animation\poseasset.cpp:201]
UE4Editor_Engine!UPoseAsset::AddOrUpdatePose() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\animation\poseasset.cpp:870]
UE4Editor_Engine!UPoseAsset::AddOrUpdatePose() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\animation\poseasset.cpp:841]
UE4Editor_Engine!UPoseAsset::AddOrUpdatePoseWithUniqueName() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\animation\poseasset.cpp:778]
UE4Editor_AnimationEditor!FAnimationEditor::CreatePoseAsset() [d:\build\++ue4+release-4.19+compile\sync\engine\source\editor\animationeditor\private\animationeditor.cpp:1083]
UE4Editor_AnimationEditor!TBaseSPMethodDelegateInstance<0,FAnimationEditor const ,0,bool __cdecl(TArray<UObject * __ptr64,FDefaultAllocator>),enum FAnimationEditor::EPoseSourceOption>::Execute() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:269]
UE4Editor_UnrealEd!AnimationEditorUtils::CreateAnimationAssets() [d:\build\++ue4+release-4.19+compile\sync\engine\source\editor\unrealed\private\animationeditorutils.cpp:315]
UE4Editor_AnimationEditor!AnimationEditorUtils::ExecuteNewAnimAsset<UPoseAssetFactory,UPoseAsset>() [d:\build\++ue4+release-4.19+compile\sync\engine\source\editor\unrealed\public\animationeditorutils.h:194]
UE4Editor_AnimationEditor!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int,0,1,2,3>,TArray<TWeakObjectPtr<UObject,FWeakObjectPtr>,FDefaultAllocator>,FString,TBaseDelegate<bool,TArray<UObject * __ptr64,FDefaultAllocator> >,bool>::ApplyAfter<void (__() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\public\templates\tuple.h:424]
UE4Editor_AnimationEditor!TBaseStaticDelegateInstance<void __cdecl(void),TArray<TWeakObjectPtr<UObject,FWeakObjectPtr>,FDefaultAllocator>,FString,TBaseDelegate<bool,TArray<UObject * __ptr64,FDefaultAllocator> >,bool>::ExecuteIfSafe() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:788]
UE4Editor_Slate!SMenuEntryBlock::OnClicked() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:1037]
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:5435]
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:5424]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5922]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5902]
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:3244]
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-54703 in the post.

3
Login to Vote

Fixed
ComponentOLD - Anim
Affects Versions4.194.20
Target Fix4.19
Fix Commit3871934
Main Commit3990065
Release Commit3871934
CreatedFeb 1, 2018
ResolvedFeb 5, 2018
UpdatedApr 27, 2018
View Jira Issue