Description

This is a common crash affecting users in 4.16, and has occurred since at least 4.14, affecting more than 200 unique users. Unfortunately none of them have provided any additional information.

Source Context

 244       	/** Find Bone Index from BoneName. Precache as much as possible in speed critical sections! */
  245       	int32 FindBoneIndex(const FName& BoneName) const
  246       	{
  247       		checkSlow(FinalRefBoneInfo.Num() == FinalNameToIndexMap.Num());
  248       		int32 BoneIndex = INDEX_NONE;
  249       		if( BoneName != NAME_None )
  250       		{
  251 ***** 			const int32* IndexPtr = FinalNameToIndexMap.Find(BoneName);
  252       			if( IndexPtr )
  253       			{
  254       				BoneIndex = *IndexPtr;
  255       			}
  256       		}
  257       		return BoneIndex;
  258       	}
Steps to Reproduce
  1. Double click on a skeletal mesh to open in Persona
  2. Select the skeleton view
  3. Navigate to the Preview Scene tab in the details panel
  4. Delete the Preview Mesh (Skeleton)
  5. Hit Apply
  6. Add a socket

Result:
Editor will crash

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

UE4Editor_Persona!FReferenceSkeleton::FindBoneIndex() [referenceskeleton.h:252]
UE4Editor_Persona!FAnimationViewportClient::DrawSockets() [animationeditorviewportclient.cpp:1415]
UE4Editor_Persona!FSkeletonSelectionEditMode::Render() [skeletonselectioneditmode.cpp:315]
UE4Editor_UnrealEd!FEditorModeTools::Render() [editormodemanager.cpp:837]
UE4Editor_UnrealEd!FEditorViewportClient::Draw() [editorviewportclient.cpp:3527]
UE4Editor_Persona!FAnimationViewportClient::Draw() [animationeditorviewportclient.cpp:367]
UE4Editor_Renderer!FSceneRenderer::FSceneRenderer() [scenerendering.cpp:1196]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::FDeferredShadingSceneRenderer() [deferredshadingrenderer.cpp:213]
UE4Editor_Renderer!FRendererModule::BeginRenderingViewFamily() [scenerendering.cpp:1974]
UE4Editor_UnrealEd!FEditorViewportClient::Draw() [editorviewportclient.cpp:3399]
UE4Editor_Engine!FViewport::Draw() [unrealclient.cpp:1190]
UE4Editor_UnrealEd!UEditorEngine::UpdateSingleViewportClient() [editorengine.cpp:2013]
UE4Editor_UnrealEd!UEditorEngine::Tick() [editorengine.cpp:1786]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [unrealedengine.cpp:386]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3119]
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 toAnswerHub just mention UE-47528 in the post.

0
Login to Vote

Fixed
ComponentAnim - Animation
Affects Versions4.144.154.16
Target Fix4.17
Fix Commit3547910
Main Commit3596628
Release Commit3547910
CreatedJul 20, 2017
ResolvedJul 21, 2017
UpdatedApr 27, 2018