Description

When duplicating an actor that has foliage placed on it (i.e. the table in the basic level with starter content), the editor will crash.

Found in 4.11 Preview 7. Reproduced in Main CL 2894512

This crash did not occur when performing the same repro steps in 4.10.4. This is a regression.

Steps to Reproduce
  1. Open the editor
  2. Create a blank project w/ starter content
  3. Go to the Foliage tab
  4. Click the Add Foliage Type dropdown
  5. Create a new foliage type
  6. Add a mesh to the foliage type
  7. Place a few instances of the foliage on the starter table in the level
  8. Select the table and alt+drag to duplicate it

Result: Editor Crashes

Expected: No crash would occur

Callstack
UE4Editor_Core!FDebug::AssertFailed() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\private\misc\outputdevice.cpp:430]
UE4Editor_Engine!FHierarchicalStaticMeshSceneProxy::FHierarchicalStaticMeshSceneProxy() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\hierarchicalinstancedstaticmesh.cpp:683]
UE4Editor_Engine!UHierarchicalInstancedStaticMeshComponent::CreateSceneProxy() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\hierarchicalinstancedstaticmesh.cpp:2435]
UE4Editor_Renderer!FScene::AddPrimitive() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\renderer\private\rendererscene.cpp:496]
UE4Editor_Engine!UPrimitiveComponent::CreateRenderState_Concurrent() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\components\primitivecomponent.cpp:369]
UE4Editor_Engine!UActorComponent::RecreateRenderState_Concurrent() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\components\actorcomponent.cpp:1163]
UE4Editor_Engine!UActorComponent::DoDeferredRenderUpdates_Concurrent() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\components\actorcomponent.cpp:1240]
UE4Editor_Engine!<lambda_759a4c9cc7743360b49b5df2c3eae095>::operator()() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\leveltick.cpp:855]
UE4Editor_Engine!UWorld::SendAllEndOfFrameUpdates() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\leveltick.cpp:872]
UE4Editor_Renderer!FRendererModule::BeginRenderingViewFamily() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\renderer\private\scenerendering.cpp:1807]
UE4Editor_UnrealEd!FEditorViewportClient::Draw() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\unrealed\private\editorviewportclient.cpp:3068]
UE4Editor_Engine!FViewport::Draw() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\unrealclient.cpp:1053]
UE4Editor_UnrealEd!UEditorEngine::UpdateSingleViewportClient() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\unrealed\private\editorengine.cpp:1715]
UE4Editor_UnrealEd!UEditorEngine::Tick() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\unrealed\private\editorengine.cpp:1462]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\unrealed\private\unrealedengine.cpp:370]
UE4Editor!FEngineLoop::Tick() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\launch\private\launchengineloop.cpp:2640]
UE4Editor!GuardedMain() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\launch\private\launch.cpp:142]
UE4Editor!GuardedMainWrapper() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264]
kernel32
ntdll

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-28189 in the post.

0
Login to Vote

Fixed
ComponentTools - Foliage
Affects Versions4.114.12
Target Fix4.11
Fix Commit2903301
Main Commit2913181
Release Commit2903301
CreatedMar 10, 2016
ResolvedMar 10, 2016
UpdatedMay 2, 2018