UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FUnresolvedStructTracker Struct Reference

Public Member Functions

 FUnresolvedStructTracker (UStruct *LoadStruct)
 
 ~FUnresolvedStructTracker ()
 

Static Public Member Functions

static bool IsImportStructUnresolved (UObject *ImportObject)
 
static bool IsAssociatedStructUnresolved (const FLinkerLoad *Linker)
 
static void Reset (const FLinkerLoad *Linker)
 

Detailed Description

This utility struct helps track blueprint structs/linkers that are currently in the middle of a call to ResolveDeferredDependencies(). This can be used
to know if a dependency's resolve needs to be finished (to avoid unwanted placeholder references ending up in script-code).

Constructor & Destructor Documentation

◆ FUnresolvedStructTracker()

FUnresolvedStructTracker::FUnresolvedStructTracker ( UStruct LoadStruct)
inline

Marks the specified struct (and its linker) as "resolving" for the lifetime of this instance

◆ ~FUnresolvedStructTracker()

FUnresolvedStructTracker::~FUnresolvedStructTracker ( )
inline

Removes the wrapped struct from the "resolving" set (it has been fully "resolved")

Member Function Documentation

◆ IsAssociatedStructUnresolved()

static bool FUnresolvedStructTracker::IsAssociatedStructUnresolved ( const FLinkerLoad Linker)
inlinestatic

Checks to see if the specified linker is associated with any of the unresolved structs that this is currently tracking.

NOTE: This could return false, even if the linker is in a ResolveDeferredDependencies() call futher up the callstack... in that scenario, the associated struct was fully resolved by a subsequent call to the same function (for the same linker/struct).

Parameters
LinkerThe linker you want to check.
Returns
True if the specified linker is in the midst of an unfinished ResolveDeferredDependencies() call (otherwise false).

◆ IsImportStructUnresolved()

static bool FUnresolvedStructTracker::IsImportStructUnresolved ( UObject ImportObject)
inlinestatic

Checks to see if the specified import object is a blueprint class/struct that is currently in the midst of resolving (and hasn't completed that
resolve elsewhere in some nested call).

Parameters
ImportObjectThe object you wish to check.
Returns
True if the specified object is a class/struct that hasn't been fully resolved yet (otherwise false).

◆ Reset()

static void FUnresolvedStructTracker::Reset ( const FLinkerLoad Linker)
inlinestatic

The documentation for this struct was generated from the following file: