Navigation
API > API/Runtime > API/Runtime/UniversalObjectLocator > API/Runtime/UniversalObjectLocator/FUniversalObjectLocator
References
| Module | UniversalObjectLocator |
| Header | /Engine/Source/Runtime/UniversalObjectLocator/Public/UniversalObjectLocator.h |
| Include | #include "UniversalObjectLocator.h" |
| Source | /Engine/Source/Runtime/UniversalObjectLocator/Private/UniversalObjectLocator.cpp |
UObject * SyncLoad
(
UObject * Context
) const
Remarks
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. The located object, or nullptr on failure
Parameters
| Name | Description |
|---|---|
| Context | (Optional) An optional context to use for finding/loading the object - should match what was specified in Reset() |