GetAsyncLoadPercentage

Returns the async load percentage for a package in flight with the passed in name or -1 if there isn't one.

Windows
MacOS
Linux

Warnings

  • THIS IS SLOW. MAY BLOCK ASYNC LOADING.

References

Module

CoreUObject

Header

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

Include

#include "UObject/UObjectGlobals.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/Serialization/AsyncPackageLoader.cpp

Syntax

float GetAsyncLoadPercentage
(
    const FName & PackageName
)

Remarks

Returns the async load percentage for a package in flight with the passed in name or -1 if there isn't one.

THIS IS SLOW. MAY BLOCK ASYNC LOADING.

Returns

Async load percentage if package is currently being loaded, -1 otherwise

Parameters

Parameter

Description

PackageName

Name of package to query load percentage for

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