Description

There is an issue where Editor crashes when calling a "scroll into view" node with missing parameters. This issue should be caught when compiling the blueprint as one of the values should not be null. This issue does not appear to be a regression

Versions Tested: Issue occurs in all versions Tested
4.17 - 3658906
4.18 - 3794801
4.20 - 3813964

Steps to Reproduce
  1. Create a new project (No template or starter content needed)
  2. Create a new Widget blueprint > Name it TestBP > Open TestBP
  3. Add a scrollbox to the canvas panel > make the Scrollbox a child > add buttons until there is a scrollbar on your scrollbox
  4. In the event graph on the event construct add the "Scroll into view" node and get a reference to the scrollbox and plug it into the target pin of the node
  5. Compile and save the blueprint making sure that the Widget pin of the "Scroll into view" node is empty
  6. In the level blueprint create the widget and add it to the viewport
    Result: Editor Crashes
    Expected Result: The widget blueprint should not compile without an input for the Widget pin
Callstack
Assertion failed: IsValid() [File: D:\Build++UE4+Release-4.18+Compile\Sync\Engine\Source\Runtime\Core\Public\Templates/SharedPointer.h|file:///D:/Build++UE4+Release-4.18+CompileSyncEngineSourceRuntimeCorePublicTemplates/SharedPointer.h] [Line: 793]

UE4Editor_Core!FDebug::AssertFailed() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:414]
 UE4Editor_Slate!TSharedPtr<SWidget,0>::ToSharedRef() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\public\templates\sharedpointer.h:794]
 UE4Editor_Slate!SScrollBox::InternalScrollDescendantIntoView() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\widgets\layout\sscrollbox.cpp:405]
 UE4Editor_Slate!UE4Function_Private::TFunctionRefCaller<<lambda_4be56f745a2f2e64347e787540d2ed74>,void __cdecl(FGeometry)>::Call() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\public\templates\function.h:245]
 UE4Editor_Slate!SScrollBox::Tick() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\widgets\layout\sscrollbox.cpp:572]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:873]
 UE4Editor_Slate!SConstraintCanvas::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\widgets\layout\sconstraintcanvas.cpp:220]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
 UE4Editor_UMG!SObjectWidget::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\umg\private\slate\sobjectwidget.cpp:80]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_Slate!SConstraintCanvas::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\widgets\layout\sconstraintcanvas.cpp:220]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SOverlay::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\soverlay.cpp:97]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SOverlay::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\soverlay.cpp:97]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:31]
 UE4Editor_SlateCore!SPanel::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:12]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:31]
 UE4Editor_SlateCore!SPanel::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:12]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SOverlay::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\soverlay.cpp:97]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
 UE4Editor_Slate!SViewport::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\widgets\sviewport.cpp:128]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_Slate!SCanvas::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\widgets\scanvas.cpp:116]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SOverlay::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\soverlay.cpp:97]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
 UE4Editor_Slate!SBorder::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\widgets\layout\sborder.cpp:85]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SOverlay::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\soverlay.cpp:97]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:31]
 UE4Editor_SlateCore!SPanel::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:12]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:31]
 UE4Editor_Slate!SSplitter::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\widgets\layout\ssplitter.cpp:167]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:31]
 UE4Editor_Slate!SSplitter::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\widgets\layout\ssplitter.cpp:167]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:31]
 UE4Editor_Slate!SSplitter::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\widgets\layout\ssplitter.cpp:167]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:31]
 UE4Editor_Slate!SSplitter::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\widgets\layout\ssplitter.cpp:167]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SOverlay::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\soverlay.cpp:97]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:31]
 UE4Editor_SlateCore!SPanel::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:12]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
 UE4Editor_Slate!SBorder::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\widgets\layout\sborder.cpp:85]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SOverlay::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\soverlay.cpp:97]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:31]
 UE4Editor_SlateCore!SPanel::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:12]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:31]
 UE4Editor_Slate!SSplitter::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\widgets\layout\ssplitter.cpp:167]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SOverlay::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\soverlay.cpp:97]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:31]
 UE4Editor_SlateCore!SPanel::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:12]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:31]
 UE4Editor_SlateCore!SPanel::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:12]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SOverlay::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\soverlay.cpp:97]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
 UE4Editor_SlateCore!SWindow::OnPaint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swindow.cpp:1892]
 UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:899]
 UE4Editor_Slate!FSlateApplication::DrawWindowAndChildren() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:1233]
 UE4Editor_Slate!FSlateApplication::PrivateDrawWindows() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:1473]
 UE4Editor_Slate!FSlateApplication::DrawWindows() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:1190]
 UE4Editor_Slate!FSlateApplication::TickApplication() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:1777]
 UE4Editor_Slate!FSlateApplication::Tick() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:1595]
 UE4Editor!FEngineLoop::Tick() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3378]
 UE4Editor!GuardedMain() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\launch\private\launch.cpp:166]
 UE4Editor!GuardedMainWrapper() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
 UE4Editor!WinMain() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:210]
 UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
 kernel32
 ntdll

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-54037 in the post.

0
Login to Vote

Fixed
ComponentTools - UMG
Affects Versions4.174.184.20
Target Fix4.19
Fix Commit3842582
Main Commit3990065
Release Commit3842582
CreatedJan 15, 2018
ResolvedJan 17, 2018
UpdatedApr 27, 2018