Description

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

Source Context

  724       FGeometry SWindow::GetWindowGeometryInWindow() const
  725       {
  726       	// We are scaling children for layout, but our pixel bounds are not changing.
  727       	// FGeometry expects Size in Local space, but our size is stored in screen space (same as window space + screen offset).
  728       	// So we need to transform Size into the window's local space for FGeometry.
  729       	FSlateLayoutTransform LocalToWindow = GetLocalToWindowTransform();
  730       	FVector2D ViewSize = GetViewportSize();
  731       	return FGeometry::MakeRoot(TransformVector(Inverse(LocalToWindow), ViewSize), LocalToWindow );
  732       }
  733       
  734       FSlateLayoutTransform SWindow::GetLocalToScreenTransform() const
  735       {
  736 ***** 	return FSlateLayoutTransform(FSlateApplicationBase::Get().GetApplicationScale() * NativeWindow->GetDPIScaleFactor(), ScreenPosition);
  737       }
  738       
  739       FSlateLayoutTransform SWindow::GetLocalToWindowTransform() const
  740       {
  741       	return FSlateLayoutTransform(FSlateApplicationBase::Get().GetApplicationScale() * NativeWindow->GetDPIScaleFactor());
  742       }
Steps to Reproduce

repro steps currently unknown

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

UE4Editor_SlateCore!SWindow::GetLocalToScreenTransform() [swindow.cpp:737]
UE4Editor_SlateCore!SWindow::GetWindowGeometryInScreen() [swindow.cpp:722]
UE4Editor_SlateCore!FWeakWidgetPath::ToWidgetPath() [widgetpath.cpp:275]
UE4Editor_Slate!FSlateApplication::MouseCaptorHelper::ToWidgetPath() [slateapplication.cpp:652]
UE4Editor_Slate!FSlateApplication::QueryCursor() [slateapplication.cpp:3324]
UE4Editor_Slate!FSlateApplication::TickApplication() [slateapplication.cpp:1666]
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 to Questions & Answers just mention UE-51727 in the post.

7
Login to Vote

Fixed
ComponentUE - Editor - UI Systems - Slate
Affects Versions4.18
Target Fix4.19
Fix Commit3734244
Main Commit3807911
Release Commit3813083
CreatedOct 27, 2017
ResolvedDec 4, 2017
UpdatedApr 27, 2018
View Jira Issue