FStreamableHandle::WaitUntilComplete

Blocks until the requested assets have loaded.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/StreamableManager.h

Include

#include "Engine/StreamableManager.h"

Source

/Engine/Source/Runtime/Engine/Private/StreamableManager.cpp

Syntax

EAsyncPackageState::Type WaitUntilComplete
(
    float Timeout,
    bool bStartStalledHandles
)

Remarks

Blocks until the requested assets have loaded. This pushes the requested asset to the top of the priority list, but does not flush all async loading, usually resulting in faster completion than a LoadObject call

Parameters

Parameter

Description

Timeout

Maximum time to wait, if this is 0 it will wait forever

StartStalledHandles

If true it will force all handles waiting on external resources to try and load right now

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