4.8.2 Crash during copying destructible actor with alt key

Repro steps:

  1. download 4.8.2 from launcher
  2. create simple project with starter content
  3. create a destructible from StaticMesh’/Game/StarterContent/Props/SM_Lamp_Wall.SM_Lamp_Wall’
  4. fracture created destructible
  5. save the created destructible
  6. select it from the content browser: DestructibleMesh’/Game/StarterContent/Props/SM_Lamp_Wall_DM.SM_Lamp_Wall_DM’
  7. click RMB somewhere in the map viewport to open context menu
  8. place destructible
  9. hold left Alt and try copy it
  10. observe the crash

Funny thing if you drag same destructible from the browser then make a copy with Alt the editor will not crash :slight_smile:

For some reason the ImportedResource is nullptr here:
const bool bIsCPUSkinned = SkelMeshResource->RequiresCPUSkinning(SceneFeatureLevel) || (GIsEditor && ShouldCPUSkin());

StackTrace:

UE4Editor_Engine!FSkeletalMeshResource::GetMaxBonesPerChunk() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\engine\private\skeletalmesh.cpp:1890]
UE4Editor_Engine!FSkeletalMeshResource::RequiresCPUSkinning() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\engine\private\skeletalmesh.cpp:1906]
UE4Editor_Engine!USkinnedMeshComponent::CreateRenderState_Concurrent() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\engine\private\components\skinnedmeshcomponent.cpp:253]
UE4Editor_Engine!UActorComponent::ExecuteRegisterEvents() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\engine\private\components\actorcomponent.cpp:1017]
UE4Editor_Engine!UActorComponent::RegisterComponentWithWorld() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\engine\private\components\actorcomponent.cpp:804]
UE4Editor_Engine!AActor::IncrementalRegisterComponents() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\engine\private\actor.cpp:3464]
UE4Editor_Engine!AActor::RegisterAllComponents() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\engine\private\actor.cpp:3412]
UE4Editor_Engine!AActor::PostEditChangeProperty() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\engine\private\actoreditor.cpp:108]
UE4Editor_CoreUObject!UObject::PostEditChange() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\coreuobject\private\uobject\obj.cpp:286]
UE4Editor_UnrealEd!ImportObjectProperties() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\editor\unrealed\private\editorobject.cpp:729]
UE4Editor_UnrealEd!ImportObjectProperties() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\editor\unrealed\private\editorobject.cpp:804]
UE4Editor_UnrealEd!ULevelFactory::FactoryCreateText() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\editor\unrealed\private\factories\editorfactories.cpp:842]
UE4Editor_UnrealEd!UUnrealEdEngine::edactPasteSelected() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\editor\unrealed\private\editoractor.cpp:315]
UE4Editor_UnrealEd!DuplicateSelectedActors::FDuplicateJob::DuplicateActorsToLevel() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\editor\unrealed\private\editoractor.cpp:411]
UE4Editor_UnrealEd!UUnrealEdEngine::edactDuplicateSelected() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\editor\unrealed\private\editoractor.cpp:525]
UE4Editor_UnrealEd!FLevelEditorViewportClient::InputWidgetDelta() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\editor\unrealed\private\leveleditorviewport.cpp:2264]
UE4Editor_UnrealEd!FEditorViewportClient::UpdateMouseDelta() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\editor\unrealed\private\editorviewportclient.cpp:1770]
UE4Editor_UnrealEd!FEditorViewportClient::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\editor\unrealed\private\editorviewportclient.cpp:939]
UE4Editor_UnrealEd!FLevelEditorViewportClient::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\editor\unrealed\private\leveleditorviewport.cpp:1996]
UE4Editor_UnrealEd!UEditorEngine::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\editor\unrealed\private\editorengine.cpp:1399]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\editor\unrealed\private\unrealedengine.cpp:366]
UE4Editor!FEngineLoop::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\launch\private\launchengineloop.cpp:2359]
UE4Editor!GuardedMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\launch\private\launch.cpp:142]
UE4Editor!GuardedMainWrapper() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]

Regards

Pierdek

Hi Pierdek -

Thank you for your report. We have assigned this issue to a member of our support staff, and they will begin investigation as soon as possible. If we are unable to reproduce the issue, or we need additional information, our staff member will comment here with additional questions. Otherwise, we will post an ‘Answer’ once we have logged the issue in our bug database or we have a solution for it.

In the meantime, please be sure to review our suggestions for how to report a bug, and feel free to edit your post if you have additional information to provide:

Thank you -

Eric Ketchum

Hey Pierdek,

This issue has been fixed internally. Please wait for the next major release to view this fix. If after the release this is still an issue then please re open this and It will be addressed at that time.

Thank you for reporting this bug,

Hi ,
can you give me link to github commit? Thanks in advance.

It is fixed at the head of the 4.9 branch on github. The most recent version should have this issue resolved. You can check the individual commits for the 4.9 branch.