Description

You will hit the ensure condition:

 

LogOutputDevice: Error: Ensure condition failed: !SeenPaths.Contains(CurrentPath) in Engine\Source\Runtime\CoreUObject\Private\Misc\RedirectCollector.cpp] [Line: 299]
Found circular redirect from /Game/Developers/sunnanrahi/Y.Y to /Game/Developers/sunnanrahi/Y.Y! Returning None instead
LogStats: FDebug::EnsureFailed - 0.000 s
LogRedirectors: Error: Logging redirection chain:
LogRedirectors: Error: /Game/Developers/sunnanrahi/Y.Y
LogRedirectors: Error: /Game/Developers/sunnanrahi/X.X
 

 

Steps to Reproduce
  • Take any two assets in the same folder, lets say X & Y
  • Rename Y to Z.
  • Rename X to Y.
  • Now rename Y back to X.
  • And rename Z back to Y.
     
Callstack
[Inlined] FLogCategoryBase::IsSuppressed(Type) LogCategory.h:35
FRedirectCollector::GetAssetPathRedirection(const FSoftObjectPath &) RedirectCollector.cpp:301
FRedirectCollector::AddAssetPathRedirection(const FSoftObjectPath &, const FSoftObjectPath &) RedirectCollector.cpp:244
FAssetRenameManager::RenameReferencingSoftObjectPaths(TArray<…>, const TMap<…> &) AssetRenameManager.cpp:1490
FAssetRenameManager::PerformAssetRename(TArray<…> &, const TArray<…> &) AssetRenameManager.cpp:1811
FAssetRenameManager::FixReferencesAndRename(const TArray<…> &, bool, bool) AssetRenameManager.cpp:479
FAssetRenameManager::RenameAssetsWithDialog(const TArray<…> &, bool) AssetRenameManager.cpp:275
ContentBrowserAssetData::RenameAssetFileItem(IAssetTools *, const FContentBrowserAssetFileItemDataPayload &, const FString &) ContentBrowserAssetDataCore.cpp:1104
ContentBrowserAssetData::RenameItem(IAssetTools *, IAssetRegistry *, const UContentBrowserDataSource *, const FContentBrowserItemData &, const FString &) ContentBrowserAssetDataCore.cpp:1060
UContentBrowserAssetDataSource::RenameItem(const FContentBrowserItemData &, const FString &, FContentBrowserItemData &) ContentBrowserAssetDataSource.cpp:2692
FContentBrowserItem::Rename(const FString &, FContentBrowserItem *) ContentBrowserItem.cpp:544
SAssetView::AssetRenameCommit(const TSharedPtr<…> &, const FString &, const FSlateRect &, Type) SAssetView.cpp:5142
[Inlined] Invoke(void (SAssetView::*)(const TSharedPtr<…> &, const FString &, const FSlateRect &, ETextCommit::Type), SAssetView *&, const TSharedPtr<…> &, const FString &, const FSlateRect &, ETextCommit::Type &&) Invoke.h:66
[Inlined] UE::Core::Private::Tuple::TTupleBase::ApplyAfter(void (SAssetView::*&)(const TSharedPtr<…> &, const FString &, const FSlateRect &, ETextCommit::Type), SAssetView *&, const TSharedPtr<…> &, const FString &, const FSlateRect &, ETextCommit::Type &&) Tuple.h:310
TBaseSPMethodDelegateInstance::ExecuteIfSafe(const TSharedPtr<…> &, const FString &, const FSlateRect &, Type) DelegateInstancesImpl.h:299
[Inlined] TDelegate::ExecuteIfBound(const TSharedPtr<…> &, const FString &, const FSlateRect &, Type) DelegateSignatureImpl.inl:635 SAssetViewItem::HandleNameCommitted(const FText &, Type) AssetViewWidgets.cpp:602
[Inlined] Invoke(void (SAssetTileItem::*)(const FText &, ETextCommit::Type), SAssetTileItem *&, const FText &, ETextCommit::Type &&) Invoke.h:66
[Inlined] UE::Core::Private::Tuple::TTupleBase::ApplyAfter(void (SAssetTileItem::*&)(const FText &, ETextCommit::Type), SAssetTileItem *&, const FText &, ETextCommit::Type &&) Tuple.h:310
TBaseSPMethodDelegateInstance::ExecuteIfSafe(const FText &, Type) DelegateInstancesImpl.h:299
TDelegate::ExecuteIfBound<…>(const FText &, Type) DelegateSignatureImpl.inl:635 SInlineEditableTextBlock::OnTextBoxCommitted(const FText &, Type) SInlineEditableTextBlock.cpp:345
[Inlined] Invoke(void (SInlineEditableTextBlock::*)(const FText &, ETextCommit::Type), SInlineEditableTextBlock *&, const FText &, ETextCommit::Type &&) Invoke.h:66
[Inlined] UE::Core::Private::Tuple::TTupleBase::ApplyAfter(void (SInlineEditableTextBlock::*&)(const FText &, ETextCommit::Type), SInlineEditableTextBlock *&, const FText &, ETextCommit::Type &&) Tuple.h:310
TBaseSPMethodDelegateInstance::ExecuteIfSafe(const FText &, Type) DelegateInstancesImpl.h:299
TDelegate::ExecuteIfBound<…>(const FText &, Type) DelegateSignatureImpl.inl:635 SEditableTextBox::OnEditableTextCommitted(const FText &, Type) SEditableTextBox.cpp:532
[Inlined] Invoke(void (SEditableTextBox::*)(const FText &, ETextCommit::Type), SEditableTextBox *&, const FText &, ETextCommit::Type &&) Invoke.h:66
[Inlined] UE::Core::Private::Tuple::TTupleBase::ApplyAfter(void (SEditableTextBox::*&)(const FText &, ETextCommit::Type), SEditableTextBox *&, const FText &, ETextCommit::Type &&) Tuple.h:310
TBaseSPMethodDelegateInstance::ExecuteIfSafe(const FText &, Type) DelegateInstancesImpl.h:299
[Inlined] TDelegate::ExecuteIfBound(const FText &, Type) DelegateSignatureImpl.inl:635 SEditableText::OnTextCommitted(const FText &, Type) SEditableText.cpp:648
FSlateEditableTextLayout::HandleFocusLost(const FFocusEvent &) SlateEditableTextLayout.cpp:939
FSlateApplication::SetUserFocus(FSlateUser &, const FWidgetPath &, EFocusCause) SlateApplication.cpp:2967
FSlateApplication::SetUserFocus(const unsigned int, const FWidgetPath &, EFocusCause) SlateApplication.cpp:2823
FSlateApplication::RoutePointerDownEvent(const FWidgetPath &, const FPointerEvent &) SlateApplication.cpp:5223
FSlateApplication::ProcessMouseButtonDownEvent(const TSharedPtr<…> &, const FPointerEvent &) SlateApplication.cpp:5112
FSlateApplication::OnMouseDown(const TSharedPtr<…> &, Type, TVector2<…>) SlateApplication.cpp:5010
FWindowsApplication::ProcessDeferredMessage(const FDeferredWindowsMessage &) WindowsApplication.cpp:2261
FWindowsApplication::DeferMessage(TSharedPtr<…> &, HWND__ *, unsigned int, unsigned long long, long long, int, int, unsigned int) WindowsApplication.cpp:2765
FWindowsApplication::ProcessMessage(HWND__ *, unsigned int, unsigned long long, long long) WindowsApplication.cpp:1926
[Inlined] WindowsApplication_WndProc(HWND__ *, unsigned int, unsigned long long, long long) WindowsApplication.cpp:930
FWindowsApplication::AppWndProc(HWND__ *, unsigned int, unsigned long long, long long) WindowsApplication.cpp:935
<unknown> 0x00007ffdc9f0ef75 <unknown> 0x00007ffdc9f0e9ee <unknown> 0x000001d2dcc37f09 <unknown> 0x000001d2d8d210b8 <unknown> 0x00007ffdc9f0ef75 <unknown> 0x00007ffdc9f0e69d [Inlined] WinPumpMessages() WindowsPlatformApplicationMisc.cpp:116
FWindowsPlatformApplicationMisc::PumpMessages(bool) WindowsPlatformApplicationMisc.cpp:145
FEngineLoop::Tick() LaunchEngineLoop.cpp:5735
[Inlined] EngineTick() Launch.cpp:69
GuardedMain(const wchar_t *) Launch.cpp:190
LaunchWindowsStartup(HINSTANCE__ *, HINSTANCE__ *, char *, int, const wchar_t *) LaunchWindows.cpp:247
WinMain(HINSTANCE__ *, HINSTANCE__ *, char *, int) LaunchWindows.cpp:298
[Inlined] invoke_main() 0x00007ff70a2dce9a __scrt_common_main_seh() 0x00007ff70a2dce79 <unknown> 0x00007ffdc9827344 <unknown> 0x00007ffdca7a26b1  

Have Comments or More Details?

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

0
Login to Vote

Backlogged
ComponentUE - Foundation - Core - UObject
Affects Versions5.4
Target Fix5.6
CreatedMay 10, 2024
UpdatedOct 24, 2024
View Jira Issue