Crash when try to copy/paste nodes

Hey guys,

when I try to copy/paste nodes from my custom Node Editor, I get a in
SBoxPanel.cpp Line 53

 static void ArrangeChildrenAlong( const TPanelChildren<SBoxPanel::FSlot>& Children,                                         const FGeometry& AllottedGeometry,                                                         FArrangedChildren& ArrangedChildren )
{
	//....
        //....
        //--Here--> if ( CurChild.GetWidget()->GetVisibility() != EVisibility::Collapsed )
        //...
}

I debugged it and GetWidget returns an invalid pointer

Thanks in advance for your answers

Greetings

I solved it.
Unfortunately I had a Pointer which I wrapped around a local SharedPtr
Because the SharedPtr went out of scope the Adress was deleted and one of the widgets got a dangling ptr.