Adding text to quests very slow?

Announcements, support questions, and discussion for Quest Machine.
Post Reply
nicmar
Posts: 133
Joined: Wed Aug 21, 2019 2:39 am

Adding text to quests very slow?

Post by nicmar »

When I click the "Body Text Quest Content" it takes 2-3 seconds before I can start typing. Do you know why? Can it be something in my scene that slows it down? Any way to debug it?

See the video below...

Thanks!

Working on SpaceChef - A wacky open world space western, featuring a chef with nothing to loose, after he loses everything.. ;) Follow our work on @BlueGooGames.
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Adding text to quests very slow?

Post by Tony Li »

Hi,

Every time you add a new content element, condition, or action, it saves the quest info to disk. It relies on Unity's AssetDatabase class to do this, which isn't very fast in this case.

However, do check if there are any warnings or errors in the Console window. If so, they could indicate a problem or at least slow down the operation.
nicmar
Posts: 133
Joined: Wed Aug 21, 2019 2:39 am

Re: Adding text to quests very slow?

Post by nicmar »

Thanks, it seems to be a little faster now, but I'm not sure what I changed. :)
Working on SpaceChef - A wacky open world space western, featuring a chef with nothing to loose, after he loses everything.. ;) Follow our work on @BlueGooGames.
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Adding text to quests very slow?

Post by Tony Li »

It might be related to whatever Unity's AssetDatabase has cached at the moment.
Post Reply