# ActiveRefreshImportMode

> The refresh import mode that the Asset Database uses to import assets.

## Definition

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

```csharp
public static AssetDatabase.RefreshImportMode ActiveRefreshImportMode { get; set; }
```

### Remarks

This mode determines whether the Editor imports assets in the Editor process, or in parallel in import worker processes, during an Asset Database refresh. For the available modes, refer to [AssetDatabase.RefreshImportMode](/engine/6000.7/script-reference/unityeditor/assetdatabase/refreshimportmode.md).

The initial value comes from the [ **Parallel Import** setting](/engine/6000.7/manual/unity-editor/editor-settings-reference/comp-manager-group/class-editor-manager.md), which you can also read and write with [EditorSettings.refreshImportMode](/engine/6000.7/script-reference/unityeditor/editorsettings/refreshimportmode.md). The `-refreshImportMode` command line argument overrides that setting.

Unity applies this property to the current session only and doesn't save the value. To change the mode for the project, set [EditorSettings.refreshImportMode](/engine/6000.7/script-reference/unityeditor/editorsettings/refreshimportmode.md) instead.
