# "Show Only Selected" broken when editing level instances 

**URL:** <https://forums.unrealengine.com/t/show-only-selected-broken-when-editing-level-instances/2722502>\
**Category:** Pipeline & Plugins\
**Tags:** Epic-Pro-Support, unreal-engine, question\
**Created:** [April 13, 2026, 7:06pm UTC](https://forums.unrealengine.com/t/show-only-selected-broken-when-editing-level-instances/2722502 "2026-04-13T19:06:05Z")\
**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:** [April 13, 2026, 7:06pm UTC](https://forums.unrealengine.com/t/show-only-selected-broken-when-editing-level-instances/2722502/1 "2026-04-13T19:06:05Z")

</div>

In 5.6.1 when inline editing a level instance the “Show Only Selected” hides all actors, including the one in the level instance which is being edited. In 5.7.4 this does not happen. Because we’re currently using a 5.6.1 engine branch, is it possible to point me at a git commit that I could cherry pick to get this feature working again for our level designers?

Thank you

---

<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:** [April 13, 2026, 7:06pm UTC](https://forums.unrealengine.com/t/show-only-selected-broken-when-editing-level-instances/2722502/2 "2026-04-13T19:06:10Z")

</div>

**Steps to Reproduce**  
N/A

---

<div class="post-metadata">

**Author:** ![Svegn2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/svegn2/32/1225280_2.png) [@Svegn2](https://forums.unrealengine.com/u/Svegn2)\
**Post date:** [April 15, 2026, 1:03pm UTC](https://forums.unrealengine.com/t/show-only-selected-broken-when-editing-level-instances/2722502/3 "2026-04-15T13:03:56Z")

</div>

Hello!

That problem was not directly addressed. It was a side effect of CL44110982. You don’t need to fully integrate this CL. I was able to isolate the fix to a single method in EditorActor.cpp:

```auto
static void SetActorVisibility(AActor* Actor, bool bVisible)
{
	using namespace UE::Editor::DataStorage;
 
	// Save the actor to the transaction buffer to support undo/redo, but do
	// not call Modify, as we do not want to dirty the actor's package and
	// we're only editing temporary, transient values
	SaveToTransactionBuffer(Actor, false);
 
//Use this API that will affect any actor
	Actor->SetIsTemporarilyHiddenInEditor(!bVisible);
 
/*	if (const ICompatibilityProvider* DataStoreCompat = GetDataStorageFeature<ICompatibilityProvider>(CompatibilityFeatureName))
	{
		RowHandle Row = DataStoreCompat->FindRowWithCompatibleObject(Actor);
		if (ICoreProvider* DataStore = GetMutableDataStorageFeature<ICoreProvider>(StorageFeatureName))
		{
			FVisibleInEditorColumn* VisibilityColumn = DataStore->GetColumn<FVisibleInEditorColumn>(Row);
			if (VisibilityColumn)
			{
				VisibilityColumn->bIsVisibleInEditor = bVisible;
			}
			DataStore->AddColumn<FTypedElementSyncBackToWorldTag>(Row);
		}
	}
	*/
}

```

I have only lightly tested so I can’t promise this won’t have side effects.

Martin

---

<div class="post-metadata">

**Author:** ![Svegn2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/svegn2/32/1225280_2.png) [@Svegn2](https://forums.unrealengine.com/u/Svegn2)\
**Post date:** [April 16, 2026, 1:04pm UTC](https://forums.unrealengine.com/t/show-only-selected-broken-when-editing-level-instances/2722502/4 "2026-04-16T13:04:24Z")

</div>

That is really weird. It works fine in my 5.6 based stream. I validated the function in the persistent level and while editing a Level Instance in-place. Both act as expected.

---

<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:** [April 15, 2026, 3:12pm UTC](https://forums.unrealengine.com/t/show-only-selected-broken-when-editing-level-instances/2722502/5 "2026-04-15T15:12:46Z")

</div>

Martin,

Thank you for getting back to me. I implemented this workaround but it sems like the behavior of “Show Only Selected” no longer works. I believe what should happen is that all actors which are in the LI you are editing, with the exception of the current selection, should be hidden. It appears that with this code nothing happens.
