# FAssetRenameManager::CheckPackageForSoftObjectReferences returns an accumulated result, causing unrelated packages to be checked out during Level Instance creation 

**URL:** <https://forums.unrealengine.com/t/fassetrenamemanager-checkpackageforsoftobjectreferences-returns-an-accumulated-result-causing-unrelated-packages-to-be-checked-out-during-level-instance-creation/2858978>\
**Category:** Pipeline & Plugins\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [October 16, 2026, 6:19am UTC](https://forums.unrealengine.com/t/fassetrenamemanager-checkpackageforsoftobjectreferences-returns-an-accumulated-result-causing-unrelated-packages-to-be-checked-out-during-level-instance-creation/2858978 "2026-10-16T06:19:09Z")\
**Posts on this page:** 3\
**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:** [October 16, 2026, 6:19am UTC](https://forums.unrealengine.com/t/fassetrenamemanager-checkpackageforsoftobjectreferences-returns-an-accumulated-result-causing-unrelated-packages-to-be-checked-out-during-level-instance-creation/2858978/1 "2026-10-16T06:19:09Z")

</div>

When moving actors from a level into a Level Instance, Unreal uses FAssetRenameManager to update soft references from the actors’ old object paths to their new

paths.

During this process, unrelated packages may be incorrectly classified as referencing the moved actors. As a result, the source-control checkout dialog can contain

hundreds or thousands of unrelated assets, including Level Sequences that only reference other actors in the same map.

The issue is in this overload:

bool FAssetRenameManager::CheckPackageForSoftObjectReferences(

UPackage\* Package,

const TMap\<FSoftObjectPath, FSoftObjectPath\>& AssetRedirectorMap,

TArray\<UObject\*\>& OutReferencingObjects) const

The function appends objects found in the current package to OutReferencingObjects, but returns whether the accumulated output array is non-empty:

return OutReferencingObjects.Num() != 0;

OutReferencingObjects is shared across multiple package checks in LoadReferencingPackages():

TArray\<UObject\*\> SoftReferencingObjects;

for (each candidate package)

{

const bool bFoundSoftReference =

```
 CheckPackageForSoftObjectReferences(

   Package,

   ModifiedPaths,

   SoftReferencingObjects);

```

}

Once any package contains a matching soft reference, SoftReferencingObjects remains non-empty. Every package checked afterward therefore returns true, even when

the current package contains no matching soft reference.

Those unrelated packages are then added to PackagesToSaveForThisAsset and eventually included in the source-control checkout prompt.

## Affected Code

File:

Engine/Source/Developer/AssetTools/Private/AssetRenameManager.cpp

Current implementation:

bool FAssetRenameManager::CheckPackageForSoftObjectReferences(

UPackage\* Package,

const TMap\<FSoftObjectPath, FSoftObjectPath\>& AssetRedirectorMap,

TArray\<UObject\*\>& OutReferencingObjects) const

{

TMap\<FSoftObjectPath, TArray\<UObject\*\>\> ReferencingObjectsMap;

CheckPackageForSoftObjectReferences(

```
 Package,

 AssetRedirectorMap,

 ReferencingObjectsMap);

```

for (const auto& It : ReferencingObjectsMap)

{

```
 for (UObject\* Obj : It.Value)

 {

   OutReferencingObjects.AddUnique(Obj);

 }

```

}

return OutReferencingObjects.Num() != 0;

}

The return value reflects all previously checked packages instead of only the current Package.

## Suggested Fix

return !ReferencingObjectsMap.IsEmpty();

[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:** [October 16, 2026, 6:19am UTC](https://forums.unrealengine.com/t/fassetrenamemanager-checkpackageforsoftobjectreferences-returns-an-accumulated-result-causing-unrelated-packages-to-be-checked-out-during-level-instance-creation/2858978/2 "2026-10-16T06:19:13Z")

</div>

**Steps to Reproduce**

1. Enable source control in the editor.

2. Create or use a level containing several actors, for example:

TestMap:PersistentLevel.ActorA

TestMap:PersistentLevel.ActorB

TestMap:PersistentLevel.ActorC

3. Create one Level Sequence or another asset that contains an exact soft reference to ActorA.

4. Create several additional Level Sequences that reference other actors in TestMap, but do not reference ActorA.

Because the Asset Registry records package-level dependencies, these assets may all initially appear as candidate referencers of the TestMap package.

5. Ensure the exact referencer is processed before at least one unrelated candidate package. Adding several unrelated candidate packages makes the problem easier

to reproduce because package iteration order may vary.

6. Select ActorA in the level.

7. Use:

Create Level Instance

to move the selected actor into a new Level Instance.

8. Observe the source-control checkout prompt.

[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:** [October 20, 2026, 9:32pm UTC](https://forums.unrealengine.com/t/fassetrenamemanager-checkpackageforsoftobjectreferences-returns-an-accumulated-result-causing-unrelated-packages-to-be-checked-out-during-level-instance-creation/2858978/3 "2026-10-20T21:32:42Z")

</div>

Hi,

Thanks for reporting this! I think the best fix would be to pass forward the return value of the recursive call to CheckPackageForSoftObjectReferences:

```auto
bool FAssetRenameManager::CheckPackageForSoftObjectReferences(UPackage* Package, const TMap<FSoftObjectPath, FSoftObjectPath>& AssetRedirectorMap, TArray<UObject*>& OutReferencingObjects) const
{
	TMap<FSoftObjectPath, TArray<UObject*>> ReferencingObjectsMap;
 
	const bool bFoundReference = CheckPackageForSoftObjectReferences(Package, AssetRedirectorMap, ReferencingObjectsMap);
 
	// Build an array out of the map results.
	for (const auto& It : ReferencingObjectsMap)
	{
		for (UObject* Obj : It.Value)
		{
			OutReferencingObjects.AddUnique(Obj);
		}
	}
	return bFoundReference;
}

```

I’ll work on getting that reviewed and checked in for a future release.

Best,

Cody

[Attachment Removed]
