Description

This is a common crash affecting users in 4.16.

User Descriptions

  • Hit undo a bunch of times after re-opening a skeletal mesh where I was trying out painting cloth max distances.

Source Context

 787       	// NOTE: The following is an Unreal extension to standard shared_ptr behavior
  788       	FORCEINLINE TSharedRef< ObjectType, Mode > ToSharedRef() const
  789       	{
  790        		// If this assert goes off, it means a shared reference was created from a shared pointer that was nullptr.
  791        		// Shared references are never allowed to be null.  Consider using TSharedPtr instead.
  792       		check( IsValid() );
  793 ***** 		return TSharedRef< ObjectType, Mode >( *this );
  794       	}
Steps to Reproduce

repro steps currently unknown

Callstack
Assertion failed: IsValid() [File:D:\Build\++UE4+Release-4.16+Compile\Sync\Engine\Source\Runtime\Core\Public\Templates/SharedPointer.h] [Line: 793]

UE4Editor_Persona!TSharedPtr<IEditableSkeleton,0>::ToSharedRef() [sharedpointer.h:794]
UE4Editor_Persona!FAnimationEditorPreviewScene::GetEditableSkeleton() [animationeditorpreviewscene.h:210]
UE4Editor_Persona!FAnimationEditorPreviewScene::SetPreviewMesh() [animationeditorpreviewscene.cpp:97]
UE4Editor_UnrealEd!UEditorEngine::BroadcastPostUndo() [editorserver.cpp:5203]
UE4Editor_UnrealEd!UEditorEngine::HandleTransactorUndo() [editorserver.cpp:1220]
UE4Editor_UnrealEd!TBaseUObjectMethodDelegateInstance<0,UEditorEngine,TTypeWrapper<void> __cdecl() [delegateinstancesimpl.h:766]
UE4Editor_UnrealEd!TBaseUObjectMethodDelegateInstance<0,UEditorEngine,void __cdecl() [delegateinstancesimpl.h:856]
UE4Editor_UnrealEd!TBaseMulticastDelegate<void,FUndoSessionContext,bool>::Broadcast() [delegatesignatureimpl.inl:937]
UE4Editor_UnrealEd!UTransBuffer::Undo() [editortransaction.cpp:866]
UE4Editor_UnrealEd!UEditorEngine::Exec_Transaction() [editorserver.cpp:5198]
UE4Editor_UnrealEd!UEditorEngine::Exec() [editorserver.cpp:5645]
UE4Editor_UnrealEd!UUnrealEdEngine::Exec() [unrealedsrv.cpp:670]
UE4Editor_MainFrame!FMainFrameActionCallbacks::ExecuteExecCommand() [mainframeactions.cpp:969]
UE4Editor_MainFrame!TBaseStaticDelegateInstance<void __cdecl() [delegateinstancesimpl.h:1027]
UE4Editor_Slate!FUICommandList::ConditionalProcessCommandBindings() [uicommandlist.cpp:216]
UE4Editor_Slate!FUICommandList::ProcessCommandBindings() [uicommandlist.cpp:160]
UE4Editor_MainFrame!FMainFrameActionCallbacks::OnUnhandledKeyDownEvent() [mainframeactions.cpp:211]
UE4Editor_MainFrame!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<FReply() [tuple.h:497]
UE4Editor_MainFrame!TBaseStaticDelegateInstance<FReply __cdecl() [delegateinstancesimpl.h:958]
UE4Editor_Slate!TBaseDelegate<FReply,FKeyEvent const & __ptr64>::Execute() [delegatesignatureimpl.inl:537]
UE4Editor_Slate!FSlateApplication::ProcessKeyDownEvent() [slateapplication.cpp:4641]
UE4Editor_Slate!FSlateApplication::OnKeyDown() [slateapplication.cpp:4541]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1539]
UE4Editor_Core!FWindowsApplication::DeferMessage() [windowsapplication.cpp:2127]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:867]
UE4Editor_Core!FWindowsApplication::AppWndProc() [windowsapplication.cpp:714]
user32!UserCallWinProcCheckWow()
user32!DispatchMessageWorker()
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [windowsplatformmisc.cpp:1009]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3058]
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-47227 in the post.

0
Login to Vote

Fixed
ComponentOLD - Anim
Affects Versions4.16
Target Fix4.18
Fix Commit3617723
Main Commit3624383
Release Commit3643070
CreatedJul 13, 2017
ResolvedAug 30, 2017
UpdatedMay 18, 2020
View Jira Issue