Download

editor keeps crashing when using the landscape tool and foliage tool

What happens is as long as i dont use the landscape and foliage tool it doesnt crash. Wich is sad since i need both to create the world.
Any tip on what to go from here?

Error code

Assertion failed: SelectedInstances.IsValidIndex(InInstanceIndex) [File:D:\Build++UE4+Release-4.19+Compile\Sync\Engine\Source\Runtime\Engine\Private\InstancedStaticMesh.cpp] [Line: 2217]

UE4Editor_Core!FDebug::AssertFailed() [d:\build++ue4+release-4.19+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:419]
UE4Editor_Engine!UInstancedStaticMeshComponent::SelectInstance() [d:\build++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\instancedstaticmesh.cpp:2218]
UE4Editor_Foliage!AInstancedFoliageActor::SelectInstance() [d:\build++ue4+release-4.19+compile\sync\engine\source\runtime\foliage\private\instancedfoliage.cpp:2225]
UE4Editor_FoliageEdit!FEdModeFoliage::HandleClick() [d:\build++ue4+release-4.19+compile\sync\engine\source\editor\foliageedit\private\foliageedmode.cpp:3490]
UE4Editor_UnrealEd!FEditorModeTools::HandleClick() [d:\build++ue4+release-4.19+compile\sync\engine\source\editor\unrealed\private\editormodemanager.cpp:664]
UE4Editor_UnrealEd!FLevelEditorViewportClient::ProcessClick() [d:\build++ue4+release-4.19+compile\sync\engine\source\editor\unrealed\private\leveleditorviewport.cpp:1946]
UE4Editor_UnrealEd!FEditorViewportClient::ProcessClickInViewport() [d:\build++ue4+release-4.19+compile\sync\engine\source\editor\unrealed\private\editorviewportclient.cpp:2790]
UE4Editor_UnrealEd!FEditorViewportClient::InputKey() [d:\build++ue4+release-4.19+compile\sync\engine\source\editor\unrealed\private\editorviewportclient.cpp:2552]
UE4Editor_UnrealEd!FLevelEditorViewportClient::InputKey() [d:\build++ue4+release-4.19+compile\sync\engine\source\editor\unrealed\private\leveleditorviewport.cpp:2585]
UE4Editor_Engine!FSceneViewport::OnMouseButtonUp() [d:\build++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\slate\sceneviewport.cpp:585]
UE4Editor_Slate!SViewport::OnMouseButtonUp() [d:\build++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\widgets\sviewport.cpp:202]
UE4Editor_Slate!<lambda_1002768c627006711ef2f351a87ec0e7>::operator()() [d:\build++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5440]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_1002768c627006711ef2f351a87ec0e7> >() [d:\build++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:266]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [d:\build++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5429]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [d:\build++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5927]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [d:\build++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5907]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [d:\build++ue4+release-4.19+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1726]
UE4Editor_ApplicationCore!FWindowsApplication::DeferMessage() [d:\build++ue4+release-4.19+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:2172]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessMessage() [d:\build++ue4+release-4.19+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:889]
UE4Editor_ApplicationCore!FWindowsApplication::AppWndProc() [d:\build++ue4+release-4.19+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:726]
user32
user32
UE4Editor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [d:\build++ue4+release-4.19+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsplatformapplicationmisc.cpp:129]
UE4Editor!FEngineLoop::Tick() [d:\build++ue4+release-4.19+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3263]
UE4Editor!GuardedMain() [d:\build++ue4+release-4.19+compile\sync\engine\source\runtime\launch\private\launch.cpp:166]
UE4Editor!GuardedMainWrapper() [d:\build++ue4+release-4.19+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:144]
UE4Editor!WinMain() [d:\build++ue4+release-4.19+compile\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:253]
kernel32
ntdll