Description

This is a common crash occurring in the 4.16 release.

User Descriptions

  • This is the second time that it has vcrashed on me, ans it is really annoying. All I tryed to do was add a grass texure to a blank modle, and it crashed for the second time on me. Cna you please fix this.
  • I was in the paint tool for the grass, and right when I went to paint the ground grass it froze for a sec, and then i crashed. Also I don;t know if this helps but I was painting the grass a a checker boarded platform. I don't know if that will really help, but there you go.
  • Testing the foliage tool with varying models.
  • wont let me use grass texture

Source Context

 98       		: CompactionThreshold(2)
   99       		, InvocationListLockCount(0)
  100       	{ }
  101       
  102       protected:
  103       
  104       	/**
  105       	 * Adds the given delegate instance to the invocation list.
  106       	 *
  107       	 * @param NewDelegateBaseRef The delegate instance to add.
  108       	 */
  109       	inline FDelegateHandle AddInternal(FDelegateBase&& NewDelegateBaseRef)
  110       	{
  111       		FDelegateHandle Result = NewDelegateBaseRef.GetHandle();
  112 ***** 		InvocationList.Add(MoveTemp(NewDelegateBaseRef));
  113       		return Result;
  114       	}
  115       
Steps to Reproduce

Create a new FoliageType asset in the content browser.
Enter foliage mode
Drag the FoliageType asset into the foliage tool
Check the checkbox for the FoliageType
Try to paint foliage.
Crash!

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

UE4Editor_Foliage!FMulticastDelegateBase<FWeakObjectPtr>::AddInternal() [multicastdelegatebase.h:113]
UE4Editor_Foliage!TBaseMulticastDelegate<void,FBoxSphereBounds const & __ptr64>::AddRaw<FFoliageMeshInfo>() [delegatesignatureimpl.inl:730]
UE4Editor_Foliage!FFoliageMeshInfo::CreateNewComponent() [instancedfoliage.cpp:770]
UE4Editor_Foliage!FFoliageMeshInfo::AddInstance() [instancedfoliage.cpp:1018]
UE4Editor_Foliage!FFoliageMeshInfo::AddInstance() [instancedfoliage.cpp:1009]
UE4Editor_FoliageEdit!FEdModeFoliage::AddInstancesImp() [foliageedmode.cpp:1437]
UE4Editor_FoliageEdit!FEdModeFoliage::AddInstancesForBrush() [foliageedmode.cpp:1512]
UE4Editor_FoliageEdit!FEdModeFoliage::ApplyBrush() [foliageedmode.cpp:2344]
UE4Editor_FoliageEdit!FEdModeFoliage::StartFoliageBrushTrace() [foliageedmode.cpp:836]
UE4Editor_FoliageEdit!FEdModeFoliage::InputKey() [foliageedmode.cpp:3350]
UE4Editor_UnrealEd!FEditorModeTools::InputKey() [editormodemanager.cpp:751]
UE4Editor_UnrealEd!FEditorViewportClient::InputKey() [editorviewportclient.cpp:2281]
UE4Editor_UnrealEd!FLevelEditorViewportClient::InputKey() [leveleditorviewport.cpp:2510]
UE4Editor_Engine!FSceneViewport::OnMouseButtonDown() [sceneviewport.cpp:482]
UE4Editor_Slate!SViewport::OnMouseButtonDown() [sviewport.cpp:195]
UE4Editor_Slate!<lambda_7097b900f0e4be30d80fb18f98c51ea0>::operator() [slateapplication.cpp:4953]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,<lambda_7097b900f0e4be30d80fb18f98c51ea0> >() [slateapplication.cpp:239]
UE4Editor_Slate!FSlateApplication::RoutePointerDownEvent() [slateapplication.cpp:4942]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonDownEvent() [slateapplication.cpp:4898]
UE4Editor_Slate!FSlateApplication::OnMouseDown() [slateapplication.cpp:4816]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1712]
UE4Editor_Core!FWindowsApplication::DeferMessage() [windowsapplication.cpp:2127]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:867]
UE4Editor_Core!FWindowsApplication::AppWndProc() [windowsapplication.cpp:714]
user32!UserCallWinProcCheckWow()
user32!DispatchMessageWorker()
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [windowsplatformmisc.cpp:1009]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3058]
UE4Editor!GuardedMain() [launch.cpp:166]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:134]
UE4Editor!WinMain() [launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:253]
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-45845 in the post.

0
Login to Vote

Fixed
Fix Commit3482149
CreatedJun 8, 2017
ResolvedJun 9, 2017
UpdatedMay 9, 2020
View Jira Issue