Navigation
API > API/Runtime > API/Runtime/UniversalObjectLocator > API/Runtime/UniversalObjectLocator/FUniversalObjectLocator
Description
Attempt to find the object this locator points to, loading it if necessary (and possible), and blocking until it is loaded. Shorthand for Resolve(FResolveParams::SyncLoad(Context)).AsObject().SyncGet().Object.
| Name | SyncLoad |
| Type | function |
| Header File | /Engine/Source/Runtime/UniversalObjectLocator/Public/UniversalObjectLocator.h |
| Include Path | #include "UniversalObjectLocator.h" |
| Source | /Engine/Source/Runtime/UniversalObjectLocator/Private/UniversalObjectLocator.cpp |
UObject * SyncLoad
(
UObject * Context
) const
The located object, or nullptr on failure
Parameters
| Name | Remarks |
|---|---|
| Context | (Optional) An optional context to use for finding/loading the object - should match what was specified in Reset() |