Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AssetDatabase.RefreshImportMode

Options that control whether the Editor imports assets in the Editor process, or in parallel in import worker processes, during an Asset Database refresh.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public enum AssetDatabase.RefreshImportMode

Remarks

To read the mode that the Asset Database currently uses, use AssetDatabase.ActiveRefreshImportMode. For more information, refer to Editor settings and Import assets out of process.

Fields

Value

Description

InProcessUnity imports all assets sequentially in the Editor process.
OutOfProcessPerQueueUnity imports assets in parallel in import worker processes, based on which importer handles them, and imports the rest of the assets in the Editor process.