---
title: TryGetUntypedBlobData(out ReadOnlySpan<byte>, out ulong, out int)
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/blobobject/trygetuntypedblobdata
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/blobobject/trygetuntypedblobdata.md
last_updated: 2026-11-07
generated_at: 2026-11-10T12:56:50.811Z
locale: en-us
---

# TryGetUntypedBlobData(out ReadOnlySpan<byte>, out ulong, out int)

> Gets the data stored in this object without checking its type or version, for example to migrate data written with an older layout.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/7000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.AnimationModule

## TryGetUntypedBlobData(ReadOnlySpan\<byte>, ulong, int)

```csharp
public bool TryGetUntypedBlobData(out ReadOnlySpan<byte> data, out ulong typeHash, out int version)
```

### Parameters

**** (\[ReadOnlySpan\<byte>]\(https\://learn.microsoft.com/dotnet/api/system.readonlyspan-1)): The root of the blob, without its header.**** (\[ulong]\(https\://learn.microsoft.com/dotnet/api/system.uint64)): The type hash of the stored data. Refer to [BlobObjectReference\<T>.TypeHash](/engine/7000.0/script-reference/unityengine/blobobjectreference1/typehash.md).**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The version of the stored data. The value is 0 if the object is empty.

### Returns

| Type                                                          | Description                                                                                                                              |
| ------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns `true` if the object stores data. Otherwise, returns `false`. In that case, `data` is empty, and `typeHash` and `version` are 0. |

### Remarks

The span is a view of the stored data, not a copy. The span becomes invalid when the data of the object is replaced or the object is destroyed. Copy the data if you need to keep it. Call this method from the main thread.
