Description

Crash occurs when the user attempts to build HLOD after replacing the static meshes in the level with another set of static meshes.

Couldn't reproduce this with just any mesh replacing the meshes. Just the ones indicated in the repro.

Steps to Reproduce

Test Assets submitted at CL 3202111 in Dev-Framework

  1. Open QAGame in editor.
  2. Open the level TM-HLOD.
  3. Replace the teapot static meshes with SM_TeapotHLOD.
  4. Enable HLOD in the World Outliner.
  5. Open the HLOD Outliner.
  6. Click the plus sign for LODSetup.
  7. Click Generate Clusters.
  8. Click Generate Proxy Meshes.

RESULT:

Crash.

Callstack
UE4Editor_MeshUtilities!FMeshUtilities::FlattenMaterialsWithMeshData() meshutilities.cpp:6262 
UE4Editor_MeshUtilities!FMeshUtilities::MergeStaticMeshComponents() meshutilities.cpp:7707 
UE4Editor_HierarchicalLODUtilities!FHierarchicalLODUtilities::BuildStaticMeshForLODActor() hierarchicallodutilities.cpp:208 
UE4Editor_UnrealEd!FHierarchicalLODBuilder::BuildMeshesForLODActors() hierarchicallod.cpp:504 
UE4Editor_HierarchicalLODOutliner!HLODOutliner::SHLODOutliner::HandleBuildLODActors() hlodoutliner.cpp:450 
UE4Editor_HierarchicalLODOutliner!TMemberFunctionCaller<HLODOutliner::SHLODOutliner,FReply() delegateinstanceinterface.h:161 
UE4Editor_HierarchicalLODOutliner!TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<HLODOutliner::SHLODOutliner,FReply() tuple.h:116 
UE4Editor_HierarchicalLODOutliner!TBaseSPMethodDelegateInstance<0,HLODOutliner::SHLODOutliner,0,FReply __cdecl() delegateinstancesimpl.h:318 
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() delegatesignatureimpl.inl:522 
UE4Editor_Slate!SButton::OnMouseButtonUp() sbutton.cpp:275 
UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator() slateapplication.cpp:5010 
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() slateapplication.cpp:215 
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() slateapplication.cpp:4999 
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() slateapplication.cpp:5462 
UE4Editor_Slate!FSlateApplication::OnMouseUp() slateapplication.cpp:5439 
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() windowsapplication.cpp:1690 
UE4Editor_Core!FWindowsApplication::DeferMessage() windowsapplication.cpp:2109 
UE4Editor_Core!FWindowsApplication::ProcessMessage() windowsapplication.cpp:859 
UE4Editor_Core!FWindowsApplication::AppWndProc() windowsapplication.cpp:706 
user32!<Unknown> 
user32!<Unknown> 
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() windowsplatformmisc.cpp:951 
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2806 
UE4Editor!GuardedMain() launch.cpp:152 
UE4Editor!GuardedMainWrapper() launchwindows.cpp:126 
UE4Editor!WinMain() launchwindows.cpp:202 
UE4Editor!__scrt_common_main_seh() exe_common.inl:264 
kernel32!<Unknown> 
ntdll!<Unknown> 

Have Comments or More Details?

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

1
Login to Vote

Fixed
Fix Commit3203748
Main Commit3227721
CreatedNov 17, 2016
ResolvedNov 18, 2016
UpdatedApr 27, 2018
View Jira Issue