Description

This is a common crash coming out of the 4.18 release.

User Descriptions

  • now it crashes every time I click the "Two Bone IK" node. Hmmm...

Source Context

 261       int32 FBoneContainer::GetParentBoneIndex(const int32 BoneIndex) const
  262       {
  263       	checkSlow( IsValid() );
  264       	checkSlow(BoneIndex != INDEX_NONE);
  265       	return RefSkeleton->GetParentIndex(BoneIndex);
  266       }
  267       
  268       FCompactPoseBoneIndex FBoneContainer::GetParentBoneIndex(const FCompactPoseBoneIndex& BoneIndex) const
  269       {
  270       	checkSlow(IsValid());
  271       	checkSlow(BoneIndex != INDEX_NONE);
  272 ***** 	return CompactPoseParentBones[BoneIndex.GetInt()];
  273       }
  274       
  275       int32 FBoneContainer::GetDepthBetweenBones(const int32 BoneIndex, const int32 ParentBoneIndex) const
  276       {
  277       	checkSlow( IsValid() );
  278       	checkSlow( BoneIndex != INDEX_NONE );
  279       	return RefSkeleton->GetDepthBetweenBones(BoneIndex, ParentBoneIndex);
  280       }
Steps to Reproduce

repro steps currently unknown. Related to Two bone IK

Callstack
Access violation - code c0000005 (first/second chance not available)

UE4Editor_Engine!FBoneContainer::GetParentBoneIndex() [bonecontainer.cpp:273]
UE4Editor_AnimGraph!FAnimNodeEditMode::ConvertWidgetLocation() [animnodeeditmode.cpp:655]
UE4Editor_AnimGraph!FTwoBoneIKEditMode::GetWidgetLocation() [twoboneikeditmode.cpp:114]
UE4Editor_AnimGraph!FTwoBoneIKEditMode::DrawTargetLocation() [twoboneikeditmode.cpp:88]
UE4Editor_AnimGraph!FTwoBoneIKEditMode::Render() [twoboneikeditmode.cpp:68]
UE4Editor_UnrealEd!FEditorModeTools::Render() [editormodemanager.cpp:837]
UE4Editor_UnrealEd!FEditorViewportClient::Draw() [editorviewportclient.cpp:3591]
UE4Editor_Persona!FAnimationViewportClient::Draw() [animationeditorviewportclient.cpp:357]
UE4Editor_Renderer!FSceneRenderer::FSceneRenderer() [scenerendering.cpp:1398]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::FDeferredShadingSceneRenderer() [deferredshadingrenderer.cpp:217]
UE4Editor_Renderer!FSceneRenderer::CreateSceneRenderer() [scenerendering.cpp:1766]
UE4Editor_Renderer!FRendererModule::BeginRenderingViewFamily() [scenerendering.cpp:2246]
UE4Editor_UnrealEd!FEditorViewportClient::Draw() [editorviewportclient.cpp:3460]
UE4Editor_Engine!FViewport::Draw() [unrealclient.cpp:1213]
UE4Editor_UnrealEd!UEditorEngine::UpdateSingleViewportClient() [editorengine.cpp:2046]
UE4Editor_UnrealEd!UEditorEngine::Tick() [editorengine.cpp:1819]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [unrealedengine.cpp:396]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3296]
UE4Editor!GuardedMain() [launch.cpp:166]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:134]
UE4Editor!WinMain() [launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:253]
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

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

0
Login to Vote

Duplicate
ComponentUE - Anim - Rigging
Affects Versions4.18
Target Fix4.19
CreatedNov 21, 2017
ResolvedJan 18, 2018
UpdatedOct 7, 2020