# TryDeconstructLoadableObjectId(LoadableObjectId, out GUID, out long, out FileIdentifierType)

> Deconstructs a LoadableObjectId into its component parts: GUID, local file identifier, and file identifier type.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

## TryDeconstructLoadableObjectId(LoadableObjectId, GUID, long, FileIdentifierType)

```csharp
public static bool TryDeconstructLoadableObjectId(LoadableObjectId loadableObjectId, out GUID guid, out long localId, out FileIdentifierType fileType)
```

### Parameters

**** (\[LoadableObjectId]\(/engine/6000.7/script-reference/unity/loading/loadableobjectid)): The [LoadableObjectId](/engine/6000.7/script-reference/unity/loading/loadableobjectid.md) to deconstruct.**** (GUID): The GUID of the asset file containing the referenced object.**** (\[long]\(https\://learn.microsoft.com/dotnet/api/system.int64)): The local file identifier of the object within the asset.**** (\[FileIdentifierType]\(/engine/6000.7/script-reference/unityengine/fileidentifiertype)): The [FileIdentifierType](/engine/6000.7/script-reference/unityengine/fileidentifiertype.md) indicating whether this is a source asset, primary artifact, or non-asset reference.

### Returns

| Type                                                          | Description                                                                                                                                                       |
| ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | `true` if the LoadableObjectId represents an asset reference and all components were successfully retrieved; `false` if the LoadableObjectId is a runtime handle. |

### Remarks

This method will return `false` if the [LoadableObjectId](/engine/6000.7/script-reference/unity/loading/loadableobjectid.md) contains a runtime handle. Runtime handles are only interpretable by the [ContentLoadManager](/engine/6000.7/script-reference/unity/loading/contentloadmanager.md) and cannot be converted to GUID/local file identifier.

Additional Resources: [LoadableObjectIdEditorUtility.CreateLoadableObjectId](/engine/6000.7/script-reference/unityeditor/loadableobjectideditorutility/createloadableobjectid.md), [AssetDatabase.TryGetGUIDAndLocalFileIdentifier](/engine/6000.7/script-reference/unityeditor/assetdatabase/trygetguidandlocalfileidentifier.md)
