Description

This is an infrequent crash coming out of the 4.18 release. Users have not provided any descriptions of their actions when the crash occurred.

Based on affected project names, this may be a VR issue

Source Context

 39       void FSlateElementBatcher::AddElements(FSlateWindowElementList& WindowElementList)
   40       {
   41       	SLATE_CYCLE_COUNTER_SCOPE(GSlateAddElements);
   42       	FPlatformMisc::BeginNamedEvent(FColor::Magenta, "Slate::AddElements");
   43       
   44       	SCOPE_CYCLE_COUNTER(STAT_SlateAddElements);
   45       
   46       	NumDrawnBatchesStat = NumDrawnBoxesStat = NumDrawnTextsStat = 0;
   47       
   48       	BatchData = &WindowElementList.GetBatchData();
   49       	DrawLayer = &WindowElementList.GetRootDrawLayer();
   50       	
   51 ***** 	FVector2D ViewportSize = WindowElementList.GetWindow()->GetViewportSize();
   52       	
   53       	AddElements(WindowElementList.GetRootDrawLayer().DrawElements, ViewportSize);
Steps to Reproduce

repro steps currently unknown

Callstack
Assertion failed: IsValid() [File:D:\Build\++UE4+Release-4.18+Compile\Sync\Engine\Source\Runtime\Core\Public\Templates/SharedPointer.h] [Line: 835]

UE4Editor_SlateCore!FSlateElementBatcher::AddElements() [elementbatcher.cpp:52]
UE4Editor_SlateRHIRenderer!FSlateRHIRenderer::DrawWindows_Private() [slaterhirenderer.cpp:975]
UE4Editor_Slate!FSlateApplication::PrivateDrawWindows() [slateapplication.cpp:1494]
UE4Editor_Slate!FSlateApplication::DrawWindows() [slateapplication.cpp:1190]
UE4Editor_Slate!FSlateApplication::TickApplication() [slateapplication.cpp:1777]
UE4Editor_Slate!FSlateApplication::Tick() [slateapplication.cpp:1595]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3378]
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 toAnswerHub just mention UE-52625 in the post.

1
Login to Vote

Fixed
ComponentTools - Slate
Affects Versions4.18
Target Fix4.19
Fix Commit3775904
Main Commit3807911
Release Commit3813083
CreatedNov 21, 2017
ResolvedNov 28, 2017
UpdatedSep 16, 2019