Description

There is a bug inside Unreal Editor when selecting "Browse to Asset" for a Packed Level Actor.

Right clicking the Packed Level Actor, all the asset options appear. If you click the "Browse to Asset" button, you expect the Packed Level Actor to be highlighted inside the Content browser, but instead the Levels are selected (the packed one and also the one the asset is instanced in).

This is a regression, was not happening in version 5.4.4

Note: The attached callstack is for the origin of the bug.

Steps to Reproduce

1- Create a new Unreal Project.
2- Add to static meshes to a level.
3- Select them and from the Outliner, right click in one of them and select Level -> "Create Packed Level Actor..."
4- Add the name of the map and the Packed Level Actor.
5- Select the new PackedLevelActor in the outliner, right click and press "Browse To Asset"
6- Both maps will be selected (the packed one and also the one the asset is instanced in), in the content browser, not the Packed level actor.

Callstack

UActorElementEditorAssetDataInterface::GetAllReferencedAssetDatas(const FTypedElementHandle &, const FTypedElementAssetDataReferencedOptions &) ActorElementEditorAssetDataInterface.cpp:45
[Inlined] TTypedElement::GetAllReferencedAssetDatas(const FTypedElementAssetDataReferencedOptions &) TypedElementAssetDataInterface.h:78
??R<lambda_1>@?N@??GetAssetsToSyncToContentBrowser@UEditorEngine@@QEAAXAEAV?$TArray@UFAssetData@@V?$TSizedDefaultAllocator@$0CA@@@@@_N@Z@QEBA@AEBUFTypedElementHandle@@@Z(const FTypedElementHandle &) EditorEngine.cpp:3346
[Inlined] UE::Core::Private::Function::TFunctionRefBase::operator()(const FTypedElementHandle &) Function.h:470
TTypedElementList::ForEachElementHandle(TFunctionRef<…>, const TSubclassOf<…> &) TypedElementList.cpp:283
[Inlined] UTypedElementSelectionSet::ForEachSelectedElementHandle(TFunctionRef<…>, const TSubclassOf<…> &) TypedElementSelectionSet.h:333
UEditorEngine::GetAssetsToSyncToContentBrowser(TArray<…> &, bool) EditorEngine.cpp:3318
UEditorEngine::SyncToContentBrowser(bool) EditorEngine.cpp:3358
[Inlined] Invoke(void (*const &)()) Invoke.h:47
[Inlined] UE::Core::Private::Tuple::TTupleBase::ApplyAfter(void (*const &)()) Tuple.h:317
V::TBaseStaticDelegateInstance::ExecuteIfSafe() DelegateInstancesImpl.h:777
[Inlined] TDelegate::ExecuteIfBound() DelegateSignatureImpl.inl:634
FUIAction::Execute() UIAction.h:139
FUICommandList::ExecuteAction(TSharedRef<…>) UICommandList.cpp:117
SMenuEntryBlock::OnClicked(bool) SMenuEntryBlock.cpp:1170
SMenuEntryBlock::OnMenuItemButtonClicked() SMenuEntryBlock.cpp:1129
[Inlined] Invoke(FReply (SMenuEntryBlock::*)(), SMenuEntryBlock *&) Invoke.h:66
[Inlined] UE::Core::Private::Tuple::TTupleBase::ApplyAfter(FReply (SMenuEntryBlock::*&)(), SMenuEntryBlock *&) Tuple.h:317
V::TBaseSPMethodDelegateInstance::Execute() DelegateInstancesImpl.h:282
[Inlined] TDelegate::Execute() DelegateSignatureImpl.inl:613
SButton::ExecuteOnClick() SButton.cpp:467
SButton::OnMouseButtonUp(const FGeometry &, const FPointerEvent &) SButton.cpp:392
SMenuEntryButton::OnMouseButtonUp(const FGeometry &, const FPointerEvent &) SMenuEntryBlock.cpp:443
??R<lambda_2>@?7??RoutePointerUpEvent@FSlateApplication@@QEAA?AVFReply@@AEBVFWidgetPath@@AEBUFPointerEvent@@@Z@QEBA@AEBVFArrangedWidget@@1@Z(const FArrangedWidget &,const FPointerEvent &) SlateApplication.cpp:5341
??$Route@VFReply@@VFToLeafmostPolicy@FEventRouter@@UFPointerEvent@@V<lambda_2>@?7??RoutePointerUpEvent@FSlateApplication@@QEAA?AV1@AEBVFWidgetPath@@AEBU4@@Z@@FEventRouter@@SA?AVFReply@@PEAVFSlateApplication@@VFToLeafmostPolicy@0@UFPointerEvent@@AEBV<lambda_2>@?7??RoutePointerUpEvent@2@QEAA?AV1@AEBVFWidgetPath@@AEBU4@@Z@W4ESlateDebuggingInputEvent@@@Z(FSlateApplication *,FToLeafmostPolicy,FPointerEvent,const <lambda_2> &,ESlateDebuggingInputEvent) SlateApplication.cpp:456
FSlateApplication::RoutePointerUpEvent(const FWidgetPath &, const FPointerEvent &) SlateApplication.cpp:5327
FSlateApplication::ProcessMouseButtonUpEvent(const FPointerEvent &) SlateApplication.cpp:5912
FSlateApplication::OnMouseUp(Type, TVector2<…>) SlateApplication.cpp:5868
FWindowsApplication::ProcessDeferredMessage(const FDeferredWindowsMessage &) WindowsApplication.cpp:2271
FWindowsApplication::DeferMessage(TSharedPtr<…> &, HWND__ *, unsigned int, unsigned long long, long long, int, int, unsigned int) WindowsApplication.cpp:2783
FWindowsApplication::ProcessMessage(HWND__ *, unsigned int, unsigned long long, long long) WindowsApplication.cpp:1944
[Inlined] WindowsApplication_WndProc(HWND__ *, unsigned int, unsigned long long, long long) WindowsApplication.cpp:939
FWindowsApplication::AppWndProc(HWND__ *, unsigned int, unsigned long long, long long) WindowsApplication.cpp:944
[Inlined] WinPumpMessages() WindowsPlatformApplicationMisc.cpp:116
FWindowsPlatformApplicationMisc::PumpMessages(bool) WindowsPlatformApplicationMisc.cpp:145
FEngineLoop::Tick() LaunchEngineLoop.cpp:5792
[Inlined] EngineTick() Launch.cpp:69
GuardedMain(const wchar_t *) Launch.cpp:190
LaunchWindowsStartup(HINSTANCE__ *, HINSTANCE__ *, char *, int, const wchar_t *) LaunchWindows.cpp:266
WinMain(HINSTANCE__ *, HINSTANCE__ *, char *, int) LaunchWindows.cpp:317

Have Comments or More Details?

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

0
Login to Vote

Unresolved
ComponentUE - Editor - Content Pipeline
Affects Versions5.5
Target Fix5.6
CreatedJan 8, 2025
UpdatedJan 14, 2025
View Jira Issue