When first added as a child widget in NamedSlot, the child widget can be dragged and dropped onto the parent widget's designer. The following assert causes a crash.
Assertion failed: ParentWidget != nullptr [File:/Engine/Source/Editor/UMGEditor/Private/Designer/SDesignerView.cpp] [Line: 2912]
After restarting the editor, NamedSlot's child widget will not be able to darg and drop, and no crash.
Result:
Crash editor.
Expected:
No crash editor, and Image widget (NamedSlot's child widget) can't be dragged and dropped.
> UE4Editor-UMGEditor.dll!SDesignerView::ProcessDropAndAddWidget(const FGeometry & MyGeometry, const FDragDropEvent & DragDropEvent, const bool bIsPreview) Line 2912 C++ UE4Editor-UMGEditor.dll!SDesignerView::OnDragOver(const FGeometry & MyGeometry, const FDragDropEvent & DragDropEvent) Line 2625 C++ UE4Editor-Slate.dll!FSlateApplication::RoutePointerMoveEvent::__l46::<lambda>(const FArrangedWidget & CurWidget, const FPointerEvent & Event) Line 4941 C++ UE4Editor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,FReply <lambda>(const FArrangedWidget &, const FPointerEvent &) >(FSlateApplication * ThisApplication, FEventRouter::FBubblePolicy RoutingPolicy, FPointerEvent EventCopy, const FSlateApplication::RoutePointerMoveEvent::__l46::FReply <lambda>(const FArrangedWidget &, const FPointerEvent &) & Lambda) Line 372 C++ UE4Editor-Slate.dll!FSlateApplication::RoutePointerMoveEvent(const FWidgetPath & WidgetsUnderPointer, const FPointerEvent & PointerEvent, bool bIsSynthetic) Line 4987 C++ UE4Editor-Slate.dll!FSlateApplication::ProcessMouseMoveEvent(const FPointerEvent & MouseEvent, bool bIsSynthetic) Line 5370 C++ UE4Editor-Slate.dll!FSlateApplication::OnMouseMove() Line 5298 C++ UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage(const FDeferredWindowsMessage & DeferredMessage) Line 1996 C++ UE4Editor-ApplicationCore.dll!FWindowsApplication::DeferMessage(TSharedPtr<FWindowsWindow,0> & NativeWindow, HWND__ * InHWnd, unsigned int InMessage, unsigned __int64 InWParam, __int64 InLParam, int MouseX, int MouseY, unsigned int RawInputFlags) Line 2410 C++ UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessMessage(HWND__ * hwnd, unsigned int msg, unsigned __int64 wParam, __int64 lParam) Line 1638 C++ UE4Editor-ApplicationCore.dll!FWindowsApplication::AppWndProc(HWND__ * hwnd, unsigned int msg, unsigned __int64 wParam, __int64 lParam) Line 789 C++ [External Code] [Inline Frame] UE4Editor-ApplicationCore.dll!WinPumpMessages() Line 108 C++ UE4Editor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages(bool bFromMainLoop) Line 130 C++ UE4Editor.exe!FEngineLoop::Tick() Line 4397 C++ [Inline Frame] UE4Editor.exe!EngineTick() Line 62 C++ UE4Editor.exe!GuardedMain(const wchar_t * CmdLine, HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, int nCmdShow) Line 173 C++ UE4Editor.exe!WinMain(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * __formal, int nCmdShow) Line 252 C++ [External Code]
How do I set a material as a post-processing material?
How to delete some elements correctly when deleting an array loop?
How does TextureRenderTarget2D get TArray<uint8> type data?
UMG RichText not appear image when packaged
Why does the REMOVE method of map container remove elements have memory leaks?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
What is the difference between Camera and CineCamera?
How to assign a value to a member of UMG's UMaterialInterface pointer type in C++?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-92202 in the post.
1 |
Component | UE - Editor - UI Systems |
---|---|
Affects Versions | 4.24 |
Target Fix | 4.26, 5.0-early access |
Fix Commit | 14207291 |
---|
Created | Apr 20, 2020 |
---|---|
Resolved | Aug 28, 2020 |
Updated | Apr 28, 2021 |
7209 - projectgheist |