UPackageTools::ReloadPackages

Helper function that attempts to reload the specified top-level packages.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/PackageTools.h

Include

#include "PackageTools.h"

Source

/Engine/Source/Editor/UnrealEd/Private/PackageTools.cpp

Syntax

static bool ReloadPackages
(
    const TArray< UPackage * > & PackagesToReload,
    FText & OutErrorMessage,
    const EReloadPackagesInteractionMode InteractionMode
)

Remarks

Helper function that attempts to reload the specified top-level packages.

Returns

true if the set of loaded packages was changed

Parameters

Parameter

Description

PackagesToReload

The list of packages that should be reloaded

OutErrorMessage

An error message specifying any problems with reloading packages

InteractionMode

Whether the function is allowed to ask the user questions (such as whether to reload dirty packages)

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