Undo - Common Button Base [ Ensure fails ]

When I undo changes in the Common Button Base it shows me the message:

LogEditorTransaction: Undo Remove Widget
LogOutputDevice: Warning: Script Stack (0 frames):
LogStats: FPlatformStackWalk::StackWalkAndDump - 247.195 s
LogOutputDevice: Error: === Handled ensure: ===
LogOutputDevice: Error: Ensure condition failed: !PreviewSlateWidgetWeak.IsValid() [File:D:\build\++UE5\Sync\Engine\Source\Editor\UMGEditor\Private\WidgetBlueprintEditor.cpp] [Line: 1435]
LogOutputDevice: Error: Stack: 
LogOutputDevice: Error: [Callstack] 0x00007ffb44a67fa9 UnrealEditor-UMGEditor.dll!FWidgetBlueprintEditor::DestroyPreview() [D:\build\++UE5\Sync\Engine\Source\Editor\UMGEditor\Private\WidgetBlueprintEditor.cpp:1435]
LogOutputDevice: Error: [Callstack] 0x00007ffb44ab0eee UnrealEditor-UMGEditor.dll!FWidgetBlueprintEditor::OnBlueprintChangedImpl() [D:\build\++UE5\Sync\Engine\Source\Editor\UMGEditor\Private\WidgetBlueprintEditor.cpp:662]
LogOutputDevice: Error: [Callstack] 0x00007ffb52510715 UnrealEditor-Kismet.dll!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,1,void __cdecl(UBlueprint *),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:307]
LogOutputDevice: Error: [Callstack] 0x00007ffb6b2f1b60 UnrealEditor-Engine.dll!TMulticastDelegate<void __cdecl(UBlueprint *),FDefaultDelegateUserPolicy>::Broadcast() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateSignatureImpl.inl:967]
LogOutputDevice: Error: [Callstack] 0x00007ffb63c504a7 UnrealEditor-UnrealEd.dll!FBlueprintEditorUtils::MarkBlueprintAsStructurallyModified() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\Kismet2\BlueprintEditorUtils.cpp:2100]
LogOutputDevice: Error: [Callstack] 0x00007ffb52618022 UnrealEditor-Kismet.dll!FixSubObjectReferencesPostUndoRedo() [D:\build\++UE5\Sync\Engine\Source\Editor\Kismet\Private\BlueprintEditorModule.cpp:144]
LogOutputDevice: Error: [Callstack] 0x00007ffb6386932f UnrealEditor-UnrealEd.dll!UEditorEngine::BroadcastPostUndoRedo() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\EditorServer.cpp:5392]
LogOutputDevice: Error: [Callstack] 0x00007ffb638859c7 UnrealEditor-UnrealEd.dll!UEditorEngine::HandleTransactorRedoUndo() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\EditorServer.cpp:1209]
LogOutputDevice: Error: [Callstack] 0x00007ffb6387b6c4 UnrealEditor-UnrealEd.dll!TBaseUObjectMethodDelegateInstance<0,UEditorEngine,void __cdecl(FTransactionContext const &,bool),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:611]
LogOutputDevice: Error: [Callstack] 0x00007ffb63916330 UnrealEditor-UnrealEd.dll!UTransBuffer::Undo() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\EditorTransaction.cpp:1550]
LogOutputDevice: Error: [Callstack] 0x00007ffb638aba6c UnrealEditor-UnrealEd.dll!UEditorEngine::UndoTransaction() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\EditorServer.cpp:1426]
LogOutputDevice: Error: [Callstack] 0x00007ffb5251120c UnrealEditor-Kismet.dll!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,1,void __cdecl(void),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:307]
LogOutputDevice: Error: [Callstack] 0x00007ffb6a474941 UnrealEditor-Slate.dll!FUICommandList::ConditionalProcessCommandBindings() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Commands\UICommandList.cpp:217]
LogOutputDevice: Error: [Callstack] 0x00007ffb6a4cf9ad UnrealEditor-Slate.dll!FUICommandList::ProcessCommandBindings() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Commands\UICommandList.cpp:161]
LogOutputDevice: Error: [Callstack] 0x00007ffb64106f9e UnrealEditor-UnrealEd.dll!FBaseToolkit::ProcessCommandBindings() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\Toolkits\BaseToolkit.cpp:66]
LogOutputDevice: Error: [Callstack] 0x00007ffb641b1b76 UnrealEditor-UnrealEd.dll!SStandaloneAssetEditorToolkitHost::OnKeyDown() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\Toolkits\SStandaloneAssetEditorToolkitHost.cpp:378]
LogOutputDevice: Error: [Callstack] 0x00007ffb6a394a85 UnrealEditor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FKeyEvent,<lambda_9dc931af886a2950ba18f18a6edc755e> >() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:410]
LogOutputDevice: Error: [Callstack] 0x00007ffb6a3f70b8 UnrealEditor-Slate.dll!FSlateApplication::ProcessKeyDownEvent() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4449]
LogOutputDevice: Error: [Callstack] 0x00007ffb6a3ec181 UnrealEditor-Slate.dll!FSlateApplication::OnKeyDown() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4360]
LogOutputDevice: Error: [Callstack] 0x00007ffbf5c2a594 UnrealEditor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2045]
LogOutputDevice: Error: [Callstack] 0x00007ffbf5c19247 UnrealEditor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2699]
LogOutputDevice: Error: [Callstack] 0x00007ffbf5c2ce51 UnrealEditor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1078]
LogOutputDevice: Error: [Callstack] 0x00007ffbf5c149a7 UnrealEditor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:916]
LogOutputDevice: Error: [Callstack] 0x00007ffc07701c4c USER32.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffc07700ea6 USER32.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffbf5c2e148 UnrealEditor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp:138]
LogOutputDevice: Error: [Callstack] 0x00007ff73e797114 UnrealEditor.exe!FEngineLoop::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5139]
LogOutputDevice: Error: [Callstack] 0x00007ff73e7b0d9c UnrealEditor.exe!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:183]
LogOutputDevice: Error: [Callstack] 0x00007ff73e7b0e8a UnrealEditor.exe!GuardedMainWrapper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:147]
LogOutputDevice: Error: [Callstack] 0x00007ff73e7b3c4d UnrealEditor.exe!LaunchWindowsStartup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:283]
LogOutputDevice: Error: [Callstack] 0x00007ff73e7c5564 UnrealEditor.exe!WinMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:330]
LogOutputDevice: Error: [Callstack] 0x00007ff73e7c8736 UnrealEditor.exe!__scrt_common_main_seh() [d:\a01\_work\6\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
LogOutputDevice: Error: [Callstack] 0x00007ffc086c54e0 KERNEL32.DLL!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffc0900485b ntdll.dll!UnknownFunction []
LogStats:                SubmitErrorReport -  0.000 s
LogStats:                    SendNewReport - 59.844 s
LogStats:             FDebug::EnsureFailed - 307.173 s

It gets extremely slow but i know it’s because of this validation.

Common UI: 1.0
Unreal Engine: 5.0.3