Description

Attempting to replace a BSP with a static mesh does not work as expected and results in a crash if a 2nd BSP gets placed in the level.

Steps to Reproduce
  1. Place a BSP in the level
  2. In the content browser select a static mesh
  3. Right click the BSP that is in the level and select "Replace Selected Actors with"
  4. Try and place a second BSP into the level

Results: The BSP will stay in the level while also placing the Static Mesh. However upon trying to place the second BSP the Editor will crash.

Expected: The BSP to be replaced by the Static Mesh.

Callstack

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

UE4Editor_UnrealEd!UEditorEngine::polyFindMaster() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\editorcsg.cpp:353]
UE4Editor_UnrealEd!UEditorEngine::bspNodeToFPoly() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\editorbsp.cpp:937]
UE4Editor_UnrealEd!MakeEdPolys() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\editorbsp.cpp:217]
UE4Editor_UnrealEd!UEditorEngine::bspBuildFPolys() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\editorbsp.cpp:249]
UE4Editor_UnrealEd!UEditorEngine::RebuildStaticNavigableGeometry() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\editorexporters.cpp:2124]
UE4Editor_UnrealEd!UEditorEngine::Exec_Brush() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\editorserver.cpp:800]
UE4Editor_UnrealEd!UEditorEngine::Exec() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\editorserver.cpp:5445]
UE4Editor_UnrealEd!UUnrealEdEngine::Exec() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\unrealedsrv.cpp:696]
UE4Editor_BspMode!FBrushBuilderDragDropOp::OnDrop() [d:\build\++ue4\sync\engine\source\editor\unrealed\public\draganddrop\brushbuilderdragdropop.h:56]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5556]
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-69329 in the post.

0
Login to Vote

Fixed
ComponentTools
Affects Versions4.204.214.22
Target Fix4.22
Fix Commit4854321
Main Commit4854321
Release Commit4862694
CreatedJan 30, 2019
ResolvedJan 31, 2019
UpdatedFeb 12, 2019
View Jira Issue