![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Namespaces | |
| namespace | Handle |
| namespace | Private |
| namespace | Serialization |
| namespace | Transfer |
Functions | |
| UE_FORCEINLINE_HINT FRemoteServerId | GetGlobalServerId () |
Remote objects are unique UObjects that are referenced by a local server instance but their memory is actually owned by (exists on) another server.
It's possible that an object is remote but its memory hasn't been freed yet (UObject with EInternalObjectFlags::Remote flag that hasn't been GC'd yet). In such case any attempt to access that object through TObjectPtr will result in its memory being migrated from a remote server to a local server. Remote object memory is freed in the next GC pass after the object has been migrated and any existing references to that object (must be referenced by TObjectPtr) will be updated by GC to point to the remote object's FRemoteObjectStub.
| UE_FORCEINLINE_HINT FRemoteServerId UE::RemoteObject::GetGlobalServerId | ( | ) |
Returns a unique id associated with this (server) process