Version: Unity 6.6 (6000.6)
LanguageEnglish
  • C#

AssetDatabase.ActiveRefreshImportMode

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public static RefreshImportMode ActiveRefreshImportMode;

Description

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

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 RefreshImportMode.

The initial value comes from the __Parallel Import__ setting, which you can also read and write with EditorSettings.refreshImportMode. 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 instead.