Page 1 of 1
DS recently started lagging
Posted: Wed Jan 25, 2023 5:27 am
by lostmushroom
Hi Tony. In the last couple of days, DS has started lagging quite badly for me. It's quite slow moving nodes, typing in any of the fields, panning around the conversation etc.
I'm wondering if there's something I've inadvertently done that's causing a sudden lag or if there's a way of resetting it.
Thanks!
Re: DS recently started lagging
Posted: Wed Jan 25, 2023 8:36 am
by Tony Li
Hi,
Check the Console window for any editor-related messages.
In the Dialogue Editor's Database section, make sure Editor Settings > Fast Undo For Large Databases is ticked.
If you've opened multiple Inspector windows, try closing all but one.
If those don't help, and if you database is very large, you may need to split it up and
use multiple databases.
Re: DS recently started lagging
Posted: Wed Jan 25, 2023 5:04 pm
by lostmushroom
Fast Undo is ticked. There doesn't seem to be anything strange in the console window.
What counts as a very large database? Mine is 12.1mb.
Re: DS recently started lagging
Posted: Wed Jan 25, 2023 5:29 pm
by Tony Li
"Large" is mostly the number of dialogue entries in the database because of the way Unity serializes asset files (including dialogue databases). If you create a new, test database in your project and it runs significantly faster in the Dialogue Editor, then you could probably see some benefit from using multiple, smaller databases instead of one large database.
Re: DS recently started lagging
Posted: Thu Jan 26, 2023 9:49 am
by lostmushroom
Ah yeah that's it, a new test database runs really fast.
Thanks!