Page 1 of 1

Losing changes when editing dialogue

Posted: Tue Mar 19, 2024 6:14 pm
by robc123
Hi,

Every so often I lose changes when I edit dialogue. I make it a habit to save consistently, but sometimes I forget and go to another window for reference. Sometimes when I go back, a number of changes will just disappear. I see the window just refresh and undo a large number of changes. I think it undoes more changes than since my last save, but I can never reproduce it consistently enough to tell.

Is this a known issue?

Re: Losing changes when editing dialogue

Posted: Wed Mar 20, 2024 12:07 pm
by Tony Li
Yes, it's a very infrequent issue that was introduced with Unity's Asset Database v2. We've had a heck of a time trying to track down the true root cause, so we're in the process of reengineering the data caching to avoid the issue entirely. That update isn't available yet, but of course it's a big priority. In the meantime, I recommend updating to Unity 2022+ and the current version of the Dialogue System if possible.

Re: Losing changes when editing dialogue

Posted: Thu Mar 21, 2024 7:07 pm
by robc123
Ok, thanks for the explanation. :)

I'll just try to Ctrl+S in the meantime as much as possible

Re: Losing changes when editing dialogue

Posted: Wed Mar 27, 2024 5:06 pm
by robc123
Actually I need to bump this again...

I was working on a conversation for about an hour, saving constantly and going back to it. Now, I've gone back and it's reverted to an empty version, essentially losing an hour of progress.

Is there any way to get back that conversation? This is a huge issue for me if not.

Re: Losing changes when editing dialogue

Posted: Wed Mar 27, 2024 5:07 pm
by robc123
FWIW, I'm already on Unity 2022 and the most recent version of Dialogue System

Re: Losing changes when editing dialogue

Posted: Wed Mar 27, 2024 8:44 pm
by Tony Li
I'm really sorry. I'm currently working on a workaround for this issue. The issue can happen in a very specific circumstance when Unity reloads assemblies after recompiling scripts after having exited play mode where Unity's Asset Database v2 loses a reference to the dirty flag. A rework is being implemented in version 2.2.45 that bypasses the issue.

Re: Losing changes when editing dialogue

Posted: Sun Nov 17, 2024 2:18 pm
by robc123
Hi,

Is there any update to the above situation?

This still happens fairly regularly, and I just lose the dialogue I am working on without any trace of the deleted content.

Re: Losing changes when editing dialogue

Posted: Sun Nov 17, 2024 5:19 pm
by Tony Li
Hi,

What versions of the Dialogue System and Unity are you on now? Version 2.2.47 addressed a quirk in Unity's Asset Database v2, and there have been no reports of any issues since.