IAssetTools::RenameReferencingSoftObjectPaths

Function that renames all [FSoftObjectPath](API\Runtime\CoreUObject\UObject\FSoftObjectPath) object with the old asset path to the new one.

Windows
MacOS
Linux

References

Module

AssetTools

Header

/Engine/Source/Developer/AssetTools/Public/IAssetTools.h

Include

#include "IAssetTools.h"

Syntax

void RenameReferencingSoftObjectPaths
(
    const TArray< UPackage * > PackagesToCheck,
    const TMap< FSoftObjectPath, FSoftObjectPath > & AssetRedirectorMap
)

Remarks

Function that renames all FSoftObjectPath object with the old asset path to the new one.

Parameters

Parameter

Description

PackagesToCheck

Packages to check for referencing FSoftObjectPath.

AssetRedirectorMap

Map from old asset path to new asset path

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss