Description

Error message:

Assertion failed: 0 [Link Removed] [Line: 199] Window Creation Failed (1158)

Source Context:

  184       VirtualHeight = ClientHeight;
  185       
  186       // We call reshape window here because we didn't take into account the non-client area
  187       // in the initial creation of the window. Slate should only pass client area dimensions.
  188       // Reshape window may resize the window if the non-client area is encroaching on our
  189       // desired client area space.
  190       ReshapeWindow( ClientX, ClientY, ClientWidth, ClientHeight );
  191       
  192       if( HWnd == NULL )
  193       {
  194       FSlowHeartBeatScope SuspendHeartBeat;
  195       
  196       // @todo Error message should be localized!
  197       MessageBox(NULL, TEXT("Window Creation Failed!"), TEXT("Error!"), MB_ICONEXCLAMATION | MB_OK);
  198 ***** checkf(0, TEXT("Window Creation Failed (%d)"), ::GetLastError() );
  199       return;
  200       }
  201       
  202       if ( Definition->TransparencySupport == EWindowTransparency::PerWindow )
  203       {
  204       SetOpacity( Definition->Opacity );
  205       }
  206       
  207       #if WINVER > 0x502// Windows Vista or better required for DWM
  208       // Disable DWM Rendering and Nonclient Area painting if not showing the os window border
  209       // This prevents the standard windows frame from ever being drawn
  210       if( !Definition->HasOSWindowBorder )
  211       {
  212       const DWMNCRENDERINGPOLICY RenderingPolicy = DWMNCRP_DISABLED;
  213       verify(SUCCEEDED(DwmSetWindowAttribute(HWnd, DWMWA_NCRENDERING_POLICY, &RenderingPolicy, sizeof(RenderingPolicy))));

Most recent user affected CL: 3299760


CrashReporter User Descriptions:

Steps to Reproduce

n/a

Callstack
UE4Editor_Core!FWindowsWindow::Initialize() [windowswindow.cpp:199]
UE4Editor_Core!FWindowsApplication::InitializeWindow() [windowsapplication.cpp:276]
UE4Editor_Slate!FSlateApplication::MakeWindow() [slateapplication.cpp:1907]
UE4Editor_Slate!FSlateApplication::AddWindow() [slateapplication.cpp:1833]
UE4Editor_Slate!FDockingDragOperation::FDockingDragOperation() [fdockingdragoperation.cpp:241]
UE4Editor_Slate!FDockingDragOperation::New() [fdockingdragoperation.cpp:164]
UE4Editor_Slate!SDockingTabWell::StartDraggingTab() [sdockingtabwell.cpp:278]
UE4Editor_Slate!SDockTab::OnDragDetected() [sdocktab.cpp:85]
UE4Editor_Slate!<lambda_6a882dc395ae961f6deaba2e445a5a9a>::operator() [slateapplication.cpp:5189]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FDirectPolicy,FPointerEvent,<lambda_6a882dc395ae961f6deaba2e445a5a9a> >() [slateapplication.cpp:238]
UE4Editor_Slate!FSlateApplication::RoutePointerMoveEvent() [slateapplication.cpp:5187]
UE4Editor_Slate!FSlateApplication::ProcessMouseMoveEvent() [slateapplication.cpp:5729]
UE4Editor_Slate!FSlateApplication::OnMouseMove() [slateapplication.cpp:5663]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1739]
UE4Editor_Core!FWindowsApplication::DeferMessage() [windowsapplication.cpp:2120]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:867]
UE4Editor_Core!FWindowsApplication::AppWndProc() [windowsapplication.cpp:714]
user32!<Unknown>
user32!<Unknown>
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [windowsplatformmisc.cpp:980]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:2977]
UE4Editor!GuardedMain() [launch.cpp:166]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:134]
UE4Editor!WinMain() [launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:264]
kernel32!<Unknown>
ntdll!<Unknown>

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentTools
Affects Versions4.114.144.15
Target Fix4.16
Fix Commit3333073
Main Commit3341914
Release Commit3390270
CreatedMar 1, 2017
ResolvedMar 6, 2017
UpdatedApr 27, 2018
View Jira Issue