Description

This is a common crash occurring in the 4.16 release. It has occurred for many users, but nearly every user's project is named some variation of "pinball", this makes me wonder if the repro is surfaced in Chris Murphy's pinball tutorial on Udemy.

User Descriptions

  • While clicking compile in the Blue Print construction script the engine crashed. It has now crashed more than once in the last few minuets.
  • I was naming a static mesh variable and I hit compile then it crashed!
  • blueprint call for "set static mesh" on spline mesh component crashes UE every time in this project. it crashes reliably every time i compile my blueprint just after adding this node.
  • Added a "Set Static Mesh" node to a blueprint using splines. It was attached to the "True" execution of a branch node. As soon as I compiled, it crashed.

Source Context

 1539       bool UStaticMesh::HasValidRenderData() const
 1540       {
 1541       	return RenderData != NULL
 1542       		&& RenderData->LODResources.Num() > 0
 1543       		&& RenderData->LODResources.GetData() != NULL
 1544       		&& RenderData->LODResources[0].VertexBuffer.GetNumVertices() > 0;
 1545       }
 1546       
 1547       FBoxSphereBounds UStaticMesh::GetBounds() const
 1548 ***** {
 1549       	return ExtendedBounds;
 1550       }
 1551       
Steps to Reproduce

repro steps currently unknown. Seems related to "Set Static Mesh" in a blueprint with a Spline component.

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

UE4Editor_Engine!UStaticMesh::GetBounds() [staticmesh.cpp:1549]
UE4Editor_Engine!USplineMeshComponent::CalculateScaleZAndMinZ() [splinemeshcomponent.cpp:536]
UE4Editor_Engine!USplineMeshComponent::UpdateRenderStateAndCollision_Internal() [splinemeshcomponent.cpp:570]
UE4Editor_Engine!USplineMeshComponent::execSetStartAndEnd() [splinemeshcomponent.h:101]
UE4Editor_CoreUObject!UFunction::Invoke() [class.cpp:4461]
UE4Editor_CoreUObject!UObject::CallFunction() [scriptcore.cpp:721]
UE4Editor_CoreUObject!UObject::ProcessContextOpcode() [scriptcore.cpp:2165]
UE4Editor_CoreUObject!UObject::ProcessInternal() [scriptcore.cpp:943]
UE4Editor_CoreUObject!UFunction::Invoke() [class.cpp:4461]
UE4Editor_CoreUObject!UObject::ProcessEvent() [scriptcore.cpp:1313]
UE4Editor_Engine!AActor::ProcessEvent() [actor.cpp:695]
UE4Editor_Engine!AActor::UserConstructionScript()
UE4Editor_Engine!AActor::ProcessUserConstructionScript() [actorconstruction.cpp:842]
UE4Editor_Engine!AActor::ExecuteConstruction() [actorconstruction.cpp:758]
UE4Editor_UnrealEd!FActorReplacementHelper::Finalize() [kismetreinstanceutilities.cpp:1237]
UE4Editor_UnrealEd!FBlueprintCompileReinstancer::ReplaceInstancesOfClass_Inner() [kismetreinstanceutilities.cpp:1994]
UE4Editor_UnrealEd!FBlueprintCompileReinstancer::ReplaceInstancesOfClass() [kismetreinstanceutilities.cpp:1506]
UE4Editor_UnrealEd!FBlueprintCompileReinstancer::ReinstanceInner() [kismetreinstanceutilities.cpp:699]
UE4Editor_UnrealEd!FBlueprintCompileReinstancer::ReinstanceObjects() [kismetreinstanceutilities.cpp:943]
UE4Editor_UnrealEd!FKismetEditorUtilities::CompileBlueprint() [kismet2.cpp:889]
UE4Editor_Kismet!FBlueprintEditor::Compile() [blueprinteditor.cpp:3292]
UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,TTypeWrapper<void> __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,void __cdecl() [delegateinstancesimpl.h:434]
UE4Editor_Slate!FUICommandList::ExecuteAction() [uicommandlist.cpp:97]
UE4Editor_Slate!SToolBarButtonBlock::OnClicked() [stoolbarbuttonblock.cpp:305]
UE4Editor_Slate!TMemberFunctionCaller<SToolBarButtonBlock,FReply() [delegateinstanceinterface.h:165]
UE4Editor_Slate!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SToolBarButtonBlock,FReply() [tuple.h:497]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SToolBarButtonBlock,0,FReply __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() [delegatesignatureimpl.inl:537]
UE4Editor_Slate!SButton::OnMouseButtonUp() [sbutton.cpp:278]
UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator() [slateapplication.cpp:5049]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() [slateapplication.cpp:239]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [slateapplication.cpp:5038]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [slateapplication.cpp:5515]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [slateapplication.cpp:5495]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1704]
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-46572 in the post.

0
Login to Vote

Fixed
ComponentTools
Affects Versions4.16
Target Fix4.17
Fix Commit3547214
Main Commit3596628
Release Commit3547214
CreatedJun 27, 2017
ResolvedJul 20, 2017
UpdatedApr 27, 2018