Description

When attempting to create a destructible mesh from the Engine content folder, using the EditorSphere, or EditorCube Mesh will cause the editor to crash.   However, other meshes from this folder such as Cylinder, or Cube (Not to be confused with EditorCube) worked successfully.

 

Regression: Yes

This did not occur in 4.19

Steps to Reproduce
  1. Open a new blank project.  
  2. Navigate to Edit-> Plugins-> Built-In->Physics-> Apex Destruction -> Toggle Enabled.
  3. Restart Editor for changes to take effect.
  4. Select Content Folder
  5. Filter Engine Content
  6. Navigate to Engine Content /Editor Meshes
  7. Make a copy of EditorSphere or EditorCube in primary content folder.
  8. Right click on your EditorSphere or EditorCube-> select Create Destructible Mesh
    Result: Crash
    Expected: Destructible mesh editor launches
Callstack
Access violation - code c0000005 (first/second chance not available)

UE4Editor_ApexDestruction!BuildDestructibleMeshFromFractureSettings() [d:\build\++ue4\sync\engine\plugins\runtime\apexdestruction\source\apexdestruction\private\apexdestructibleassetimport.cpp:1010]
UE4Editor_ApexDestruction!UDestructibleMesh::BuildFromStaticMesh() [d:\build\++ue4\sync\engine\plugins\runtime\apexdestruction\source\apexdestruction\private\destructiblemesh.cpp:729]
UE4Editor_ApexDestructionEditor!FDestructibleMeshEditorModule::CreateDestructibleMeshFromStaticMesh() [d:\build\++ue4\sync\engine\plugins\runtime\apexdestruction\source\apexdestructioneditor\private\apexdestructioneditormodule.cpp:244]
UE4Editor_ApexDestructionEditor!FAssetTypeActions_DestructibleMesh::ExecuteCreateDestructibleMeshes() [d:\build\++ue4\sync\engine\plugins\runtime\apexdestruction\source\apexdestructioneditor\private\assettypeactions_destructiblemesh.cpp:43]
UE4Editor_ApexDestructionEditor!TBaseStaticDelegateInstance<void __cdecl(void),TArray<FAssetData,FDefaultAllocator> >::ExecuteIfSafe() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:788]
UE4Editor_Slate!SMenuEntryBlock::OnClicked() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:1037]
UE4Editor_Slate!SMenuEntryBlock::OnMenuItemButtonClicked() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:988]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SMenuEntryBlock,0,FReply __cdecl(void)>::Execute() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:269]
UE4Editor_Slate!SButton::OnMouseButtonUp() [d:\build\++ue4\sync\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:290]
UE4Editor_Slate!SMenuEntryButton::OnMouseButtonUp() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:385]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_1002768c627006711ef2f351a87ec0e7> >() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:268]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5472]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5979]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5959]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1736]
UE4Editor_ApplicationCore!FWindowsApplication::DeferMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:2182]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:895]
UE4Editor_ApplicationCore!FWindowsApplication::AppWndProc() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:732]
user32
user32
UE4Editor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsplatformapplicationmisc.cpp:129]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3417]
UE4Editor!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:166]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:144]
UE4Editor!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:223]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283]
kernel32
ntdll
 

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Simulation - Physics - Destruction
Affects Versions4.204.21
Target Fix4.21
Fix Commit4435599
Main Commit4450599
Release Commit4435599
CreatedOct 4, 2018
ResolvedOct 8, 2018
UpdatedOct 29, 2018