FLinkerLoad::FindExistingExport

Before loading a persistent object from disk, this function can be used to discover the object in memory.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/LinkerLoad.h

Include

#include "UObject/LinkerLoad.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp

Syntax

UObject * FindExistingExport
(
    int32 ExportIndex
)

Remarks

Before loading a persistent object from disk, this function can be used to discover the object in memory. This could happen in the editor when you save a package (which destroys the linker) and then play PIE, which would cause the Linker to be recreated. However, the objects are still in memory, so there is no need to reload them.

Before loading anything objects off disk, this function can be used to discover the object in memory. This could happen in the editor when you save a package (which destroys the linker) and then play PIE, which would cause the Linker to be recreated. However, the objects are still in memory, so there is no need to reload them.

Returns

The object that was found, or NULL if it wasn't found

Parameters

Parameter

Description

ExportIndex

The index of the export to hunt down

ExportIndex

The index of the export to hunt down

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