# Crash when using "Edit multiple assets" 

**URL:** <https://forums.unrealengine.com/t/crash-when-using-edit-multiple-assets/2835875>\
**Category:** Pipeline & Plugins\
**Tags:** Epic-Pro-Support, unreal-engine, question\
**Created:** [June 18, 2026, 12:35am UTC](https://forums.unrealengine.com/t/crash-when-using-edit-multiple-assets/2835875 "2026-06-18T00:35:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [June 18, 2026, 12:35am UTC](https://forums.unrealengine.com/t/crash-when-using-edit-multiple-assets/2835875/1 "2026-06-18T00:35:40Z")

</div>

If you are editing within a level instance and you use “Edit Multiple Assets” for multiple selected actors you can crash.

I have triaged this with Claude and have come to a clear conclusion about the crash but since I know there are rules at Epic about using agentic code, I don’t want to describe it more or provide a patch. I’m hoping the callstack and the general description is enough to identify the root issue. Happy to give more clear direction if I’m being too cautious over your policies.

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [June 18, 2026, 12:35am UTC](https://forums.unrealengine.com/t/crash-when-using-edit-multiple-assets/2835875/2 "2026-06-18T00:35:44Z")

</div>

**Steps to Reproduce**  
Using “Edit Multiple Assets” while in edit mode for a LevelInstance can crash.

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![Cody.Albert](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cody.albert/32/1088813_2.png) [@Cody.Albert](https://forums.unrealengine.com/u/Cody.Albert)\
**Post date:** [July 29, 2026, 10:52pm UTC](https://forums.unrealengine.com/t/crash-when-using-edit-multiple-assets/2835875/3 "2026-07-29T22:52:24Z")

</div>

Hi,

So sorry for the delay; can you share the callstack of the crash? Feel free to share Claude’s analysis as well, the only thing we explicitly prohibit is Github pull requests containing AI-generated code. I haven’t had any luck reproducing this so far, but the oldest engine version I currently have is 5.7 so I can check your callstack against mine to see if it might have been fixed in a newer engine version.

Best,

Cody

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [July 31, 2026, 7:19am UTC](https://forums.unrealengine.com/t/crash-when-using-edit-multiple-assets/2835875/4 "2026-07-31T07:19:58Z")

</div>

Callstack:

_UE::CoreUObject::Private::ResolveObjectHandleNoRead (ObjectHandle.h:423)_

_ObjectPtr\_Private::Friend::NoAccessTrackingGet (ObjectPtr.h:876)_

_ObjectPtr\_Private::TNonAccessTrackedObjectPtr\<T\>::Get (ObjectPtr.h:910)_

_\* (ObjectPtr.h:935)_

_UStruct::GetSuperStruct (Class.h:673)_

_UClass::GetSuperClass (Class.h:3490)_

_UAssetToolsImpl::GetAssetTypeActionsForClass (AssetTools.cpp:1577)_

_UAssetEditorSubsystem::CanOpenEditorForAsset (AssetEditorSubsystem.cpp:1548)_

_UAssetEditorSubsystem::OpenEditorForAsset (AssetEditorSubsystem.cpp:505)_

_FLevelEditorActionCallbacks::EditAsset\_Clicked (LevelEditorActions.cpp:1527)_

_Invoke (Invoke.h:47)_

_UE::Core::Private::Tuple::TTupleBase\<T\>::ApplyAfter (Tuple.h:320)_

_TBaseStaticDelegateInstance\<T\>::ExecuteIfSafe (DelegateInstancesImpl.h:799)_

_TDelegate\<T\>::ExecuteIfBound (DelegateSignatureImpl.inl:635)_

_FUIAction::Execute (UIAction.h:139)_

_FUICommandList::ExecuteAction (UICommandList.cpp:117)_

_SMenuEntryBlock::OnClicked (SMenuEntryBlock.cpp:1188)_

_SMenuEntryBlock::OnMenuItemButtonClicked (SMenuEntryBlock.cpp:1147)_

_Invoke (Invoke.h:66)_

_UE::Core::Private::Tuple::TTupleBase\<T\>::ApplyAfter (Tuple.h:320)_

_TBaseSPMethodDelegateInstance\<T\>::Execute (DelegateInstancesImpl.h:292)_

_TDelegate\<T\>::Execute (DelegateSignatureImpl.inl:614)_

_SButton::ExecuteOnClick (SButton.cpp:495)_

Analysis of root cause w/ Claude:

Steps 1, 2 and 5 are confirmed from the dump and the source. Steps 3 and 4 are inferred from the

control flow plus the repro, and are consistent with all the evidence above, but we did not capture

a GC in the act.

**\*\*1. The array is invisible to GC.\*\*** `EditAsset_Clicked` (stock 5.6.1):

```cpp

TArray\< UObject\* \> ReferencedAssets;

const bool bIgnoreOtherAssetsIfBPReferenced = true;

GEditor-\>GetReferencedAssetsForEditorSelection( ReferencedAssets, bIgnoreOtherAssetsIfBPReferenced );

// … confirmation dialog …

for (auto Asset : ReferencedAssets)

{

GEditor-\>GetEditorSubsystem\<UAssetEditorSubsystem\>()-\>OpenEditorForAsset(Asset, ToolkitMode, LevelEditorSharedPtr);

}

```

Plain `UObject*`, stack-local, no root, no `TObjectPtr`, no `FGCObject`. Nothing in this function

keeps any entry alive.

**\*\*2. For a level instance, the entry is the actor itself — not an asset.\*\***

`UEditorEngine::GetReferencedAssetsForEditorSelection` (`EditorEngine.cpp:3429`) walks the selection

calling `AActor::GetReferencedContentObjects`, and `ALevelInstance` overrides it as

(`LevelInstanceActor.cpp:353`):

```cpp

bool ALevelInstance::GetReferencedContentObjects(TArray\<UObject\*\>& Objects) const

{

Objects.Add(const\_cast\<ALevelInstance\*\>(this));

return true;

}

```

So despite the variable being named `ReferencedAssets`, the entries are world actors whose lifetime

is bound to level streaming, not to asset loading. This is what makes the window wide enough to hit

in practice: an asset would normally survive the loop because something else has it loaded, whereas

these actors are destroyed by the very operation the loop is performing.

**\*\*3. Opening the first entry removes every root holding the rest.\*\***

`OpenEditorForAsset(ALevelInstance*)` → `ALevelInstance::OpenAssetEditor()` → `EnterEdit()` →

`ULevelInstanceSubsystem::EditLevelInstanceInternal` (`LevelInstanceSubsystem.cpp:2456`), which does:

- `GEditor-\>SelectNone(true, true)` (`:2494`) — drops the `USelection` references. The selection was

the strong reference the array was silently relying on.

- `UnloadLevelInstance(EditLevelInstanceID)` (`:2533`, under the comment “Unload right away”) —

destroys the actors in the unloaded level, which is where the other selected nested level

instances live.

- `GEditor-\>ResetTransaction(…)` (`:2570`) — drops the undo buffer’s references.

**\*\*4. The same function pumps the message loop, so GC can actually run.\*\***

- `FScopedSlowTask SlowTask(…); SlowTask.MakeDialog();` (`:2487-2488`).

- `PromptUserForCommit(…)` (`:2472`) — a modal dialog when a prior edit is dirty.

- `GEngine-\>BlockTillLevelStreamingCompleted(…)` via `ULevelStreamingLevelInstanceEditor::Load`

(`LevelInstanceEditorLevelStreaming.cpp:122`).

- On the property-override path, `CollectGarbage(GARBAGE_COLLECTION_KEEPFLAGS, true)` outright

(`LevelInstanceEditorPropertyOverrideLevelStreaming.cpp:477`).

With `Ctrl+E` there is an additional pump before the loop even starts, from the “open them all?”

`FMessageDialog`. `Ctrl+Shift+E` skips that one, and still crashes.

**\*\*5. The next iteration dereferences freed memory.\*\*** `CanOpenEditorForAsset` only null-checks:

```cpp

if (!Asset)

{

…

return false;

}

FAssetToolsModule& AssetToolsModule = FModuleManager::LoadModuleChecked\<FAssetToolsModule\>(TEXT(“AssetTools”));

TWeakPtr\<IAssetTypeActions\> AssetTypeActions = AssetToolsModule.Get().GetAssetTypeActionsForClass(Asset-\>GetClass());

```

`Asset-\>GetClass()` reads the reused block, returns `0x614D67646C425F6C`, and

`GetAssetTypeActionsForClass` walks it. Crash.

This is why a multi-selection is required to hit the bug: with a single entry the loop never returns

to the array after the pump.

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![Cody.Albert](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cody.albert/32/1088813_2.png) [@Cody.Albert](https://forums.unrealengine.com/u/Cody.Albert)\
**Post date:** [August 4, 2026, 6:47pm UTC](https://forums.unrealengine.com/t/crash-when-using-edit-multiple-assets/2835875/5 "2026-08-04T18:47:43Z")

</div>

Hi,

I was able to get a repro with the same callstack, and I believe it should be fixed now in CL#56557309. Let me know if you still run into the same crash with that change!

Best,

Cody

[Attachment Removed]
