Failed to Unload Auto-Backup error

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Dmangames
Posts: 20
Joined: Fri Jul 13, 2018 9:55 pm

Failed to Unload Auto-Backup error

Post by Dmangames »

Hi Tony,

Recently I've been getting an error that looks like this:

Code: Select all

Failed to unload 'Assets/Data/Dialogue Database FIT (Auto-Backup).asset'
UnityEditor.AssetDatabase:DeleteAsset(String)
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow:MakeAutoBackup() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/DialogueEditorWindowMain.cs:447)
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow:Update() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/DialogueEditorWindowMain.cs:246)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
I'm not sure what the cause could be. I've also had a problem where I'm working on a stale copy of the dialogue and when I save it, nothing changes in the game. I have to go to the dialogue manager and click the edit button again to see the current version. Maybe these problems are related?

As always, thanks for the support
User avatar
Tony Li
Posts: 22057
Joined: Thu Jul 18, 2013 1:27 pm

Re: Failed to Unload Auto-Backup error

Post by Tony Li »

That error means the Dialogue Editor's auto-backup feature wasn't able to delete the old auto-backup copy of the database to create a new one. Is something holding onto the backup file? Can you delete it by hand? (Make sure you don't need it first.)

You can turn off auto-backups by going to the Database tab and changing Editor Settings > Auto Backup Frequency to 0. You won't get the error any more, but that's because the editor won't be making auto-backups.

The other issue you described could be related. If you can delete the old backup file by hand, maybe that will clear it up.
Post Reply