Description

If a static mesh is being used by the foliage tool and then deleted in the content browser, the foliage tool will retain a copy of the object and crash the editor if the foliage window is selected again.

Frequency: 3/3

Crash Reporter: [Link Removed]

Steps to Reproduce

1. Open Editor (any project)
2. Switch to foliage mode
3. Add static mesh from content browser to foliage tool
4. Delete static mesh from content browser
5. Select

Callstack

MachineId:4E82586D46B558EA69EF0EAA821297B1
EpicAccountId:1558531203f84e81b70959b8a59badef

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

""

UE4Editor_CoreUObject!UObjectBase::GetFName() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\coreuobject\private\uobject\uobjectbase.cpp:99]
UE4Editor_FoliageEdit!FFoliagePaletteItemModel::GetFoliageTypeDisplayNameText() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\editor\foliageedit\private\foliagepaletteitem.cpp:200]
UE4Editor_FoliageEdit!TMemberFunctionCaller<FFoliagePaletteItemModel,FText (__cdecl FFoliagePaletteItemModel::*)(void)const __ptr64>::operator()<>() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\public\delegates\delegateinstanceinterface_variadics.h:161]
UE4Editor_FoliageEdit!TTupleImpl<TIntegerSequence<> >::ApplyAfter_ExplicitReturnType<FText,TMemberFunctionCaller<FFoliagePaletteItemModel,FText (__cdecl FFoliagePaletteItemModel::*)(void)const __ptr64> >() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\public\delegates\tuple.h:113]
UE4Editor_FoliageEdit!TBaseSPMethodDelegateInstance<1,FFoliagePaletteItemModel const ,0,FText __cdecl(void)>::Execute() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:282]
UE4Editor_Slate!TBaseDelegate<FText>::Execute() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\public\delegates\delegatesignatureimpl_variadics.inl:440]
UE4Editor_Slate!TAttribute<FText>::Get() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\public\misc\attribute.h:135]
UE4Editor_Slate!FTextBlockLayout::ComputeDesiredSize() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\slate\private\widgets\text\textblocklayout.cpp:46]
UE4Editor_Slate!STextBlock::ComputeDesiredSize() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\slate\private\widgets\text\stextblock.cpp:175]
UE4Editor_SlateCore!SWidget::CacheDesiredSize() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\slatecore\private\widgets\swidget.cpp:401]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\slatecore\private\widgets\swidget.cpp:394]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\slatecore\private\widgets\swidget.cpp:389]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\slatecore\private\widgets\swidget.cpp:389]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\slatecore\private\widgets\swidget.cpp:389]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\slatecore\private\widgets\swidget.cpp:389]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\slatecore\private\widgets\swidget.cpp:389]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\slatecore\private\widgets\swidget.cpp:389]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\slatecore\private\widgets\swidget.cpp:389]
UE4Editor_Slate!FSlateApplication::SpawnToolTip() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:2706]
UE4Editor_Slate!FSlateApplication::UpdateToolTip() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:2935]
UE4Editor_Slate!FSlateApplication::ProcessMouseMoveEvent() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4356]
UE4Editor_Slate!FSlateApplication::OnMouseMove() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4320]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\private\windows\windowsapplication.cpp:1453]
UE4Editor_Core!FWindowsApplication::DeferMessage() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\private\windows\windowsapplication.cpp:1711]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\private\windows\windowsapplication.cpp:706]
UE4Editor_Core!FWindowsApplication::AppWndProc() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\private\windows\windowsapplication.cpp:628]
user32
user32
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:792]
UE4Editor!FEngineLoop::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\launch\private\launchengineloop.cpp:2319]
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:249]

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
Fix Commit2547461
Release Commit2548873
CreatedMay 11, 2015
ResolvedMay 12, 2015
UpdatedApr 27, 2018
View Jira Issue