# GetVersion()

> Returns the version of the asset postprocessor.

## Definition

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

```csharp
public virtual uint GetVersion()
```

### Returns

| Type                                                         | Description |
| ------------------------------------------------------------ | ----------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) |             |

### Remarks

When the script is recompiled, if a version change is detected, the assets associated with this asset postprocessor will be reimported.
