Version: Unity 6.7 Alpha (6000.7)
LanguageEnglish
  • C#

EditorUserSettings.autoRevertUnchangedFiles

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 bool autoRevertUnchangedFiles;

Description

Automatically reverts files that were checked out during asset import but have no actual content changes.

When enabled, Unity defers reverting until the asset database postprocess callback after the import cycle completes. This keeps the pending changelist free of incidental import-time checkouts. It relies on the version control provider's server-side content hash verification (where supported, like in Perforce), ensuring that manually checked-out files with real edits are preserved.