# GetTextMetaDataPathFromAssetPath(string)

> Gets the path to the text.meta file associated with an asset.

## Definition

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

> **Warning:**
>
> **Removed.** GetTextMetaDataPathFromAssetPath has been renamed to GetTextMetaFilePathFromAssetPath
>
> **Upgrade to** [AssetDatabase.GetTextMetaFilePathFromAssetPath](/engine/6000.3/script-reference/unityeditor/assetdatabase/gettextmetafilepathfromassetpath.md)

```csharp
public static string GetTextMetaDataPathFromAssetPath(string path)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Project relative path to the asset.

### Returns

| Type                                                           | Description                                                                 |
| -------------------------------------------------------------- | --------------------------------------------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | The path to the .meta text file or empty string if the file does not exist. |
