Page 1 of 1

Adding text to quests very slow?

Posted: Tue Oct 08, 2019 3:46 pm
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!


Re: Adding text to quests very slow?

Posted: Tue Oct 08, 2019 4:41 pm
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.

Re: Adding text to quests very slow?

Posted: Tue Oct 08, 2019 4:59 pm
by nicmar
Thanks, it seems to be a little faster now, but I'm not sure what I changed. :)

Re: Adding text to quests very slow?

Posted: Tue Oct 08, 2019 5:05 pm
by Tony Li
It might be related to whatever Unity's AssetDatabase has cached at the moment.