FStreamableManager::RequestSyncLoad

Synchronously load a set of assets, and return a handle.

Choose your operating system:

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

TSharedPtr< FStreamableHandle > RequestSyncLoad
(
    TArray< FSoftObjectPath > TargetsToStream,
    bool bManageActiveHandle,
    FString DebugName
)

Remarks

Synchronously load a set of assets, and return a handle. This can be very slow and may stall the game thread for several seconds.

Parameters

Parameter

Description

TargetsToStream

Assets to load off disk

bManageActiveHandle

If true, the manager will keep the streamable handle active until explicitly released

DebugName

Name of this handle, will be reported in debug tools