This version of Unity is unsupported.

GlobalObjectId.GlobalObjectIdentifierToObjectSlow

Declaration

public static Object GlobalObjectIdentifierToObjectSlow(GlobalObjectId id);

Parameters

id The GlobalObjectId to lookup.

Returns

Object If the GlobalObjectId is found, this method returns the converted Object reference. Returns null if the GlobalObjectId is not found. Returns null when the object is inside a scene that is not loaded.

Description

Converts a GlobalObjectId to an Object reference.

This call is slow and should be avoided or used sparingly.
See Also: GlobalObjectIdentifiersToObjectsSlow