DS recently started lagging

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
lostmushroom
Posts: 195
Joined: Mon Jul 01, 2019 1:21 pm

DS recently started lagging

Post 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!
User avatar
Tony Li
Posts: 22135
Joined: Thu Jul 18, 2013 1:27 pm

Re: DS recently started lagging

Post 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.
lostmushroom
Posts: 195
Joined: Mon Jul 01, 2019 1:21 pm

Re: DS recently started lagging

Post 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.
User avatar
Tony Li
Posts: 22135
Joined: Thu Jul 18, 2013 1:27 pm

Re: DS recently started lagging

Post 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.
lostmushroom
Posts: 195
Joined: Mon Jul 01, 2019 1:21 pm

Re: DS recently started lagging

Post by lostmushroom »

Ah yeah that's it, a new test database runs really fast.

Thanks!
Post Reply